#654CBD#654CBD
#654CBD is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.4% C 0.170 H 289.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #654CBD |
|---|---|
| RGB | rgb(101, 76, 189) |
| HSL | hsl(253, 46%, 52%) |
| HSV | hsv(253, 60%, 74%) |
| CMYK | cmyk(46.6%, 59.8%, 0%, 25.9%) |
| CIE-LAB | lab(40.59, 38.54, -56.19) |
| CIE-LCH | lch(40.59, 68.14, 304.44°) |
| OKLab | oklab(50.4% 0.0553 -0.1605) |
| OKLCH | oklch(50.4% 0.17 289) |
| XYZ | xyz(17.1340, 11.6090, 49.4722) |
| Luminance | 0.1161 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.21
Iris
#6258C4
ΔE00 3.91
Ocean Blue
#4F42B5
ΔE00 4.50
Slate Blue
#6A5ACD
ΔE00 4.77
Light Indigo
#6D5ACF
ΔE00 4.97
Blue With A Hint Of Purple
#533CC6
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#654CBD #A4BD4C
analogous
#4C6CBD #654CBD #9D4CBD
triadic
#654CBD #BD654C #4CBD65
tetradic
#654CBD #BD4C6C #A4BD4C #4CBD9D
square
#654CBD #BD4C6C #A4BD4C #4CBD9D
split-complementary
#654CBD #BD9D4C #6CBD4C
monochromatic
#352668 #4C3795 #654CBD #8B79CD #B2A5DE
Accessibility & contrast
On white
6.32
#654CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#654CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #654CBD
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##654CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##654CBD | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#49667D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #654cbd; /* rgb */ color: rgb(101, 76, 189); /* oklch */ color: oklch(50.4% 0.170 289.0);
Tailwind
colors: {
custom: {
50: '#977fd2',
500: '#654cbd',
950: '#000000',
},
}SCSS
$custom: #654cbd; $custom-light: #977fd2; $custom-dark: #000000;
JSON
{
"hex": "#654cbd",
"rgb": {
"r": 101,
"g": 76,
"b": 189
},
"hsl": {
"h": 253.274,
"s": 46.122,
"l": 51.961
},
"oklch": {
"l": 0.50401,
"c": 0.16978,
"h": 289
},
"luminance": 0.1161
}Semantic roles & 50–950 ramp
primary
#654CBD
secondary
#C0CB9A
accent
#D652B9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83