#654FC7#654FC7
#654FC7 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.6% C 0.179 H 286.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #654FC7 |
|---|---|
| RGB | rgb(101, 79, 199) |
| HSL | hsl(251, 52%, 55%) |
| HSV | hsv(251, 60%, 78%) |
| CMYK | cmyk(49.2%, 60.3%, 0%, 22%) |
| CIE-LAB | lab(41.97, 39.73, -59.77) |
| CIE-LCH | lch(41.97, 71.77, 303.61°) |
| OKLab | oklab(51.64% 0.0516 -0.171) |
| OKLCH | oklch(51.64% 0.179 286.8) |
| XYZ | xyz(18.4686, 12.4813, 55.4578) |
| Luminance | 0.1248 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 2.88
Slate Blue
#6A5ACD
ΔE00 3.40
Light Indigo
#6D5ACF
ΔE00 3.60
Bluey Purple
#6241C7
ΔE00 3.69
Dark Periwinkle
#665FD1
ΔE00 5.09
Ocean Blue
#4F42B5
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#654FC7 #B1C74F
analogous
#4F75C7 #654FC7 #A14FC7
triadic
#654FC7 #C7654F #4FC765
tetradic
#654FC7 #C74F75 #B1C74F #4FC7A1
square
#654FC7 #C74F75 #B1C74F #4FC7A1
split-complementary
#654FC7 #C7A14F #75C74F
monochromatic
#342676 #4934A4 #654FC7 #8E7DD6 #B6ACE5
Accessibility & contrast
On white
6.01
#654FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#654FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #654FC7
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##654FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##654FC7 | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#426B83
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #654fc7; /* rgb */ color: rgb(101, 79, 199); /* oklch */ color: oklch(51.6% 0.179 286.8);
Tailwind
colors: {
custom: {
50: '#9881d9',
500: '#654fc7',
950: '#000000',
},
}SCSS
$custom: #654fc7; $custom-light: #9881d9; $custom-dark: #000000;
JSON
{
"hex": "#654fc7",
"rgb": {
"r": 101,
"g": 79,
"b": 199
},
"hsl": {
"h": 251,
"s": 51.724,
"l": 54.51
},
"oklch": {
"l": 0.5164,
"c": 0.17866,
"h": 286.8
},
"luminance": 0.12482
}Semantic roles & 50–950 ramp
primary
#654FC7
secondary
#C9D2A0
accent
#DB4DC1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83