#654EB9#654EB9
#654EB9 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.162 H 289.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #654EB9 |
|---|---|
| RGB | rgb(101, 78, 185) |
| HSL | hsl(253, 43%, 52%) |
| HSV | hsv(253, 58%, 73%) |
| CMYK | cmyk(45.4%, 57.8%, 0%, 27.5%) |
| CIE-LAB | lab(40.76, 36.19, -53.56) |
| CIE-LCH | lch(40.76, 64.64, 304.04°) |
| OKLab | oklab(50.44% 0.0531 -0.1528) |
| OKLCH | oklch(50.44% 0.162 289.2) |
| XYZ | xyz(16.8457, 11.7176, 47.2637) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.63
Bluey Purple
#6241C7
ΔE00 4.03
Slate Blue
#6A5ACD
ΔE00 4.67
Ocean Blue
#4F42B5
ΔE00 4.78
Light Indigo
#6D5ACF
ΔE00 4.92
Royal Purple
#7851A9
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#654EB9 #A2B94E
analogous
#4E6DB9 #654EB9 #9B4EB9
triadic
#654EB9 #B9654E #4EB965
tetradic
#654EB9 #B94E6D #A2B94E #4EB99B
square
#654EB9 #B94E6D #A2B94E #4EB99B
split-complementary
#654EB9 #B99B4E #6DB94E
monochromatic
#352865 #4C3991 #654EB9 #8B7ACA #B1A6DC
Accessibility & contrast
On white
6.28
#654EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#654EB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #654EB9
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##654EB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##654EB9 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0262BD
Deuteranopia (green-blind)
#095DB7
Tritanopia (blue-blind)
#4B667C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #654eb9; /* rgb */ color: rgb(101, 78, 185); /* oklch */ color: oklch(50.4% 0.162 289.2);
Tailwind
colors: {
custom: {
50: '#9780cf',
500: '#654eb9',
950: '#000000',
},
}SCSS
$custom: #654eb9; $custom-light: #9780cf; $custom-dark: #000000;
JSON
{
"hex": "#654eb9",
"rgb": {
"r": 101,
"g": 78,
"b": 185
},
"hsl": {
"h": 252.897,
"s": 43.32,
"l": 51.569
},
"oklch": {
"l": 0.50442,
"c": 0.16175,
"h": 289.2
},
"luminance": 0.11718
}Semantic roles & 50–950 ramp
primary
#654EB9
secondary
#BFC99A
accent
#D355B8
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82