#654FC5#654FC5
#654FC5 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.5% C 0.176 H 287.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #654FC5 |
|---|---|
| RGB | rgb(101, 79, 197) |
| HSL | hsl(251, 50%, 54%) |
| HSV | hsv(251, 60%, 77%) |
| CMYK | cmyk(48.7%, 59.9%, 0%, 22.7%) |
| CIE-LAB | lab(41.83, 39.13, -58.84) |
| CIE-LCH | lch(41.83, 70.67, 303.63°) |
| OKLab | oklab(51.49% 0.0517 -0.1683) |
| OKLCH | oklch(51.49% 0.176 287.1) |
| XYZ | xyz(18.2379, 12.3891, 54.2429) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 2.87
Slate Blue
#6A5ACD
ΔE00 3.49
Bluey Purple
#6241C7
ΔE00 3.70
Light Indigo
#6D5ACF
ΔE00 3.71
Dark Periwinkle
#665FD1
ΔE00 5.20
Ocean Blue
#4F42B5
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#654FC5 #AFC54F
analogous
#4F74C5 #654FC5 #A04FC5
triadic
#654FC5 #C5654F #4FC565
tetradic
#654FC5 #C54F74 #AFC54F #4FC5A0
square
#654FC5 #C54F74 #AFC54F #4FC5A0
split-complementary
#654FC5 #C5A04F #74C54F
monochromatic
#352674 #4935A2 #654FC5 #8D7DD4 #B6ABE3
Accessibility & contrast
On white
6.04
#654FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#654FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #654FC5
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##654FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##654FC5 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#446A82
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #654fc5; /* rgb */ color: rgb(101, 79, 197); /* oklch */ color: oklch(51.5% 0.176 287.1);
Tailwind
colors: {
custom: {
50: '#9881d7',
500: '#654fc5',
950: '#000000',
},
}SCSS
$custom: #654fc5; $custom-light: #9881d7; $custom-dark: #000000;
JSON
{
"hex": "#654fc5",
"rgb": {
"r": 101,
"g": 79,
"b": 197
},
"hsl": {
"h": 251.186,
"s": 50.427,
"l": 54.118
},
"oklch": {
"l": 0.5149,
"c": 0.17607,
"h": 287.1
},
"luminance": 0.1239
}Semantic roles & 50–950 ramp
primary
#654FC5
secondary
#C8D19F
accent
#DA4EC0
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83