#654FB9#654FB9
#654FB9 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.6% C 0.160 H 288.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #654FB9 |
|---|---|
| RGB | rgb(101, 79, 185) |
| HSL | hsl(252, 43%, 52%) |
| HSV | hsv(252, 57%, 73%) |
| CMYK | cmyk(45.4%, 57.3%, 0%, 27.5%) |
| CIE-LAB | lab(40.99, 35.59, -53.19) |
| CIE-LCH | lch(40.99, 64.00, 303.79°) |
| OKLab | oklab(50.61% 0.052 -0.1517) |
| OKLCH | oklch(50.61% 0.16 288.9) |
| XYZ | xyz(16.9173, 11.8608, 47.2875) |
| Luminance | 0.1186 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.39
Bluey Purple
#6241C7
ΔE00 4.28
Slate Blue
#6A5ACD
ΔE00 4.46
Light Indigo
#6D5ACF
ΔE00 4.72
Ocean Blue
#4F42B5
ΔE00 4.96
Royal Purple
#7851A9
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#654FB9 #A3B94F
analogous
#4F6EB9 #654FB9 #9A4FB9
triadic
#654FB9 #B9654F #4FB965
tetradic
#654FB9 #B94F6E #A3B94F #4FB99A
square
#654FB9 #B94F6E #A3B94F #4FB99A
split-complementary
#654FB9 #B99A4F #6EB94F
monochromatic
#352865 #4C3A91 #654FB9 #8B7BCA #B2A7DC
Accessibility & contrast
On white
6.23
#654FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#654FB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #654FB9
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##654FB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##654FB9 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0963BD
Deuteranopia (green-blind)
#0E5EB7
Tritanopia (blue-blind)
#4B667C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #654fb9; /* rgb */ color: rgb(101, 79, 185); /* oklch */ color: oklch(50.6% 0.160 288.9);
Tailwind
colors: {
custom: {
50: '#9781cf',
500: '#654fb9',
950: '#000000',
},
}SCSS
$custom: #654fb9; $custom-light: #9781cf; $custom-dark: #000000;
JSON
{
"hex": "#654fb9",
"rgb": {
"r": 101,
"g": 79,
"b": 185
},
"hsl": {
"h": 252.453,
"s": 43.089,
"l": 51.765
},
"oklch": {
"l": 0.50612,
"c": 0.16034,
"h": 288.9
},
"luminance": 0.11861
}Semantic roles & 50–950 ramp
primary
#654FB9
secondary
#C0C99B
accent
#D355B9
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82