#654FCA#654FCA
#654FCA is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.9% C 0.183 H 286.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #654FCA |
|---|---|
| RGB | rgb(101, 79, 202) |
| HSL | hsl(251, 54%, 55%) |
| HSV | hsv(251, 61%, 79%) |
| CMYK | cmyk(50%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(42.19, 40.62, -61.16) |
| CIE-LCH | lch(42.19, 73.42, 303.59°) |
| OKLab | oklab(51.87% 0.0515 -0.1751) |
| OKLCH | oklch(51.87% 0.183 286.4) |
| XYZ | xyz(18.8203, 12.6220, 57.3103) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 2.96
Slate Blue
#6A5ACD
ΔE00 3.30
Light Indigo
#6D5ACF
ΔE00 3.47
Bluey Purple
#6241C7
ΔE00 3.73
Dark Periwinkle
#665FD1
ΔE00 4.96
Warm Blue
#4B57DB
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#654FCA #B4CA4F
analogous
#4F76CA #654FCA #A34FCA
triadic
#654FCA #CA654F #4FCA65
tetradic
#654FCA #CA4F76 #B4CA4F #4FCAA3
square
#654FCA #CA4F76 #B4CA4F #4FCAA3
split-complementary
#654FCA #CAA34F #76CA4F
monochromatic
#34257A #4833A9 #654FCA #8E7ED8 #B7ADE6
Accessibility & contrast
On white
5.96
#654FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#654FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #654FCA
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##654FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##654FCA | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#406C85
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #654fca; /* rgb */ color: rgb(101, 79, 202); /* oklch */ color: oklch(51.9% 0.183 286.4);
Tailwind
colors: {
custom: {
50: '#9981db',
500: '#654fca',
950: '#000000',
},
}SCSS
$custom: #654fca; $custom-light: #9981db; $custom-dark: #000000;
JSON
{
"hex": "#654fca",
"rgb": {
"r": 101,
"g": 79,
"b": 202
},
"hsl": {
"h": 250.732,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.51868,
"c": 0.18251,
"h": 286.4
},
"luminance": 0.12623
}Semantic roles & 50–950 ramp
primary
#654FCA
secondary
#CBD4A1
accent
#DD4BC3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83