Màu có tên gần nhất · #954BED
#954BED
Màu có tên gần nhất: Sweet Desire
#954BED (rgb(149 75 237), hsl(267 82% 61%), oklch(0.587 0.231 300.2)) gần nhất với màu có tên Sweet Desire. Xem sắc nhạt, sắc đậm, hòa sắc, tương phản WCAG và APCA, cùng mã CSS, Tailwind v4 và SCSS.
#954BED
oklch(0.587 0.231 300.2)
Chuyển đổi màu
- HEX
- #954bed
- RGB
- rgb(149 75 237)
- HSL
- hsl(267 82% 61%)
- HWB
- hwb(267 29% 7%)
- OKLCH
- oklch(0.587 0.231 300.2)
- OKLab
- oklab(0.587 0.116 -0.199)
- CIE Lab
- lab(48.09 54.58 -70.91)
- LCH
- lch(48.09 89.49 307.6)
- CMYK
- cmyk(37% 68% 0% 7%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 9E61F0
- A875F4
- B287F6
- BD99F9
- C7AAFB
- D2BCFC
- DDCDFE
- E8DDFF
- F3EEFF
Sắc đậm
- 8140CE
- 6D35B0
- 5A2B93
- 482177
- 37175C
- 260E42
- 16062A
- 080214
- 010003
Sắc xám
- 9254E3
- 905CD8
- 8E62CE
- 8B68C3
- 896DB8
- 8772AD
- 8576A3
- 837997
- 827D8C
Hòa sắc
Bổ túc +180°
- 954BED
Sweet Desire
- 728700
≈ Swamp Green
Tương đồng -30° +30°
- 954BED
Sweet Desire
- 4D68FF
≈ Blue Heath Butterfly
- C231BB
≈ Pink Perennial
Bộ ba +120° +240°
- 954BED
Sweet Desire
- B66500
≈ Umber
- 00907F
≈ Philips Green
Bổ túc chia +150° +210°
- 954BED
Sweet Desire
- 987800
≈ Mesozoic Green
- 009545
≈ Luscious Green
Bộ bốn +90° +180° +270°
- 954BED
Sweet Desire
- E51B06
≈ Thicker Than Water
- 728700
≈ Swamp Green
- 008C9E
≈ Parrot Flight
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 4.65:1 · APCA Lc 72
Ag
AATrên nền đen
WCAG 4.50:1 · APCA Lc 30
Màu chữ tốt nhất: #FFFFFF
WCAG 4.65:1 (AA) · APCA Lc 72
Contrast pairs
Đoạn mã
CSS
:root {
--sweet-desire: #954bed;
--sweet-desire-rgb: 149 75 237;
--sweet-desire-oklch: oklch(0.587 0.231 300.2);
}
.element {
color: var(--sweet-desire);
background-color: hsl(267 82% 61%);
border-color: oklch(0.587 0.231 300.2);
}Tailwind CSS v4
@theme {
--color-sweet-desire: #954bed;
--color-sweet-desire-50: #ffe6ff;
--color-sweet-desire-100: #f6d6ff;
--color-sweet-desire-200: #e7bbff;
--color-sweet-desire-300: #ce97ff;
--color-sweet-desire-400: #b675ff;
--color-sweet-desire-500: #a24dff;
--color-sweet-desire-600: #8943db;
--color-sweet-desire-700: #6d36b0;
--color-sweet-desire-800: #4f2785;
--color-sweet-desire-900: #371a5e;
--color-sweet-desire-950: #220941;
}SCSS
$sweet-desire: #954bed;
$sweet-desire-rgb: 149, 75, 237;
$sweet-desire-light: mix(#fff, $sweet-desire, 20%);
$sweet-desire-dark: mix(#000, $sweet-desire, 20%);
.element {
color: $sweet-desire;
box-shadow: 0 0 0 2px rgba($sweet-desire, 0.35);
}