#9654CB#9654CB
#9654CB is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.6% C 0.182 H 307.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9654CB |
|---|---|
| RGB | rgb(150, 84, 203) |
| HSL | hsl(273, 53%, 56%) |
| HSV | hsv(273, 59%, 80%) |
| CMYK | cmyk(26.1%, 58.6%, 0%, 20.4%) |
| CIE-LAB | lab(48.43, 49.02, -51.41) |
| CIE-LCH | lch(48.43, 71.03, 313.64°) |
| OKLab | oklab(57.64% 0.11 -0.1449) |
| OKLCH | oklch(57.64% 0.182 307.2) |
| XYZ | xyz(26.5253, 17.1368, 58.3987) |
| Luminance | 0.1714 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.98
Deep Lavender
#8D5EB7
ΔE00 4.41
Lightish Purple
#A552E6
ΔE00 4.50
Purpley
#8756E4
ΔE00 5.23
Purply
#983FB2
ΔE00 6.45
Darkorchid
#9932CC
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9654CB #89CB54
analogous
#5B54CB #9654CB #CB54C5
triadic
#9654CB #CB9654 #54CB96
tetradic
#9654CB #CB5B54 #89CB54 #54C5CB
square
#9654CB #CB5B54 #89CB54 #54C5CB
split-complementary
#9654CB #C5CB54 #54CB5B
monochromatic
#57267E #7735AD #9654CB #B383D9 #D0B2E8
Accessibility & contrast
On white
4.74
#9654CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#9654CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9654CB
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9654CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9654CB | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2471CF
Deuteranopia (green-blind)
#4174C8
Tritanopia (blue-blind)
#8E6B87
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9654cb; /* rgb */ color: rgb(150, 84, 203); /* oklch */ color: oklch(57.6% 0.182 307.2);
Tailwind
colors: {
custom: {
50: '#b887db',
500: '#9654cb',
950: '#000000',
},
}SCSS
$custom: #9654cb; $custom-light: #b887db; $custom-dark: #000000;
JSON
{
"hex": "#9654cb",
"rgb": {
"r": 150,
"g": 84,
"b": 203
},
"hsl": {
"h": 273.277,
"s": 53.363,
"l": 56.275
},
"oklch": {
"l": 0.57635,
"c": 0.18195,
"h": 307.2
},
"luminance": 0.17136
}Semantic roles & 50–950 ramp
primary
#9654CB
secondary
#BBD6A5
accent
#DD4B8C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83