#654CE2#654CE2
#654CE2 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.3% C 0.216 H 283.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #654CE2 |
|---|---|
| RGB | rgb(101, 76, 226) |
| HSL | hsl(250, 72%, 59%) |
| HSV | hsv(250, 66%, 89%) |
| CMYK | cmyk(55.3%, 66.4%, 0%, 11.4%) |
| CIE-LAB | lab(43.40, 49.45, -72.94) |
| CIE-LCH | lch(43.40, 88.13, 304.13°) |
| OKLab | oklab(53.32% 0.052 -0.2097) |
| OKLCH | oklch(53.32% 0.216 283.9) |
| XYZ | xyz(21.6745, 13.4253, 73.3860) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.89
Bluish Purple
#703BE7
ΔE00 3.90
Light Indigo
#6D5ACF
ΔE00 4.56
Slate Blue
#6A5ACD
ΔE00 4.65
Bluey Purple
#6241C7
ΔE00 4.86
Purpley Blue
#5F34E7
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#654CE2 #C9E24C
analogous
#4C7EE2 #654CE2 #B04CE2
triadic
#654CE2 #E2654C #4CE265
tetradic
#654CE2 #E24C7E #C9E24C #4CE2B0
square
#654CE2 #E24C7E #C9E24C #4CE2B0
split-complementary
#654CE2 #E2B04C #7EE24C
monochromatic
#2F199B #3F22CF #654CE2 #9281EB #C0B5F3
Accessibility & contrast
On white
5.70
#654CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#654CE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #654CE2
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##654CE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##654CE2 | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#297291
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #654ce2; /* rgb */ color: rgb(101, 76, 226); /* oklch */ color: oklch(53.3% 0.216 283.9);
Tailwind
colors: {
custom: {
50: '#9c80ec',
500: '#654ce2',
950: '#000000',
},
}SCSS
$custom: #654ce2; $custom-light: #9c80ec; $custom-dark: #000000;
JSON
{
"hex": "#654ce2",
"rgb": {
"r": 101,
"g": 76,
"b": 226
},
"hsl": {
"h": 250,
"s": 72.115,
"l": 59.216
},
"oklch": {
"l": 0.53322,
"c": 0.2161,
"h": 283.9
},
"luminance": 0.13427
}Semantic roles & 50–950 ramp
primary
#654CE2
secondary
#D8E2A8
accent
#EF39D1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84