首页风格模板
StyleKit
风格库模板
Colors/#8b5cf6

#8b5cf6

#8b5cf6 converts to rgb(139, 92, 246) and hsl(258, 90%, 66%). Its nearest Tailwind CSS token is violet-500 and it appears in 3 curated design styles in the StyleKit library.

01

Conversions

02

WCAG contrast

BackgroundRatioAA textAA largeAAA text
white4.23:1failpassfail
black4.96:1passpassfail
slate-9004.22:1failpassfail
gray-1003.85:1failpassfail

Ratios are computed from WCAG 2.x relative luminance. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1.

03

Design styles using this color

  • Bento Gridaccent · modern→
  • JRPGaccent · expressive→
  • Modern Gradientprimary · expressive→
04

Tints and shades

#e8defd#d1befb#b99dfa#a27df8#5d1cf2#420bc0#2c0780#160440

Lightness ladder in HSL space, from the lightest tint to the darkest shade of #8b5cf6.

05

Similar colors in the library

#7c5cff#7b68ee#6d5dfc#a855f7#7a73ff#6c5ce7#6366f1#635bff

Nearest swatches by perceptual OKLab distance across all curated style palettes.

06

AI prompt snippet

Use #8b5cf6 as the accent color, following the Bento Grid style: rgb(139, 92, 246), nearest Tailwind token violet-500. Keep text contrast at least 4.5:1 (this color scores 4.23:1 on white, 4.96:1 on black).

Paste this into ChatGPT, Claude, Cursor, or v0 to use #8b5cf6 with correct contrast constraints. Browse all palette colors.

StyleKit

精选网页设计风格库,帮助 AI 生成更好看的网站。

反馈建议支持维护
浏览+
风格库模板动效资源库提示词库主题合集
学习与更新+
前端基础指南配方更新日志博客
关于与政策+
关于联系与支持隐私政策服务条款支持我们退款政策

(c) 2026 StyleKit. 开源项目。

闄旾CP澶?025065501鍙?3

刊末信息/SK — 2026

基于 Editorial 风格构建

01反馈与建议告诉我们哪里还可以更好02支持维护如果 StyleKit 恰好帮到了你,欢迎扫码支持。金额随意,每一份心意我都很感谢。

StyleKit

精选网页设计风格库,帮助 AI 生成更好看的网站。

GitHub 仓库

浏览

风格库模板动效资源库提示词库主题合集

学习与动态

前端基础指南配方更新日志博客

订阅动态

新风格、模板与工具上线时,第一时间收到通知。

保持更新

订阅即表示您同意我们的 隐私政策 和 服务条款。

(c) 2026 StyleKit. 开源项目。

关于联系与支持隐私政策服务条款支持我们退款政策/陕ICP备2025065501号-3

StyleKit