#654FBF#654FBF
#654FBF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.0% C 0.168 H 288.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #654FBF |
|---|---|
| RGB | rgb(101, 79, 191) |
| HSL | hsl(252, 47%, 53%) |
| HSV | hsv(252, 59%, 75%) |
| CMYK | cmyk(47.1%, 58.6%, 0%, 25.1%) |
| CIE-LAB | lab(41.41, 37.36, -56.04) |
| CIE-LCH | lch(41.41, 67.35, 303.69°) |
| OKLab | oklab(51.05% 0.0519 -0.16) |
| OKLCH | oklch(51.05% 0.168 288) |
| XYZ | xyz(17.5641, 12.1195, 50.6940) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.00
Bluey Purple
#6241C7
ΔE00 3.88
Slate Blue
#6A5ACD
ΔE00 3.90
Light Indigo
#6D5ACF
ΔE00 4.14
Ocean Blue
#4F42B5
ΔE00 5.05
Dark Periwinkle
#665FD1
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#654FBF #A9BF4F
analogous
#4F71BF #654FBF #9D4FBF
triadic
#654FBF #BF654F #4FBF65
tetradic
#654FBF #BF4F71 #A9BF4F #4FBF9D
square
#654FBF #BF4F71 #A9BF4F #4FBF9D
split-complementary
#654FBF #BF9D4F #71BF4F
monochromatic
#35276C #4B3899 #654FBF #8C7CCF #B4A9E0
Accessibility & contrast
On white
6.13
#654FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#654FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #654FBF
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##654FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##654FBF | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#48687F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #654fbf; /* rgb */ color: rgb(101, 79, 191); /* oklch */ color: oklch(51.0% 0.168 288.0);
Tailwind
colors: {
custom: {
50: '#9781d3',
500: '#654fbf',
950: '#000000',
},
}SCSS
$custom: #654fbf; $custom-light: #9781d3; $custom-dark: #000000;
JSON
{
"hex": "#654fbf",
"rgb": {
"r": 101,
"g": 79,
"b": 191
},
"hsl": {
"h": 251.786,
"s": 46.667,
"l": 52.941
},
"oklch": {
"l": 0.51046,
"c": 0.16825,
"h": 288
},
"luminance": 0.1212
}Semantic roles & 50–950 ramp
primary
#654FBF
secondary
#C4CD9D
accent
#D651BC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83