#654C99#654C99
#654C99 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 47.9% C 0.122 H 296.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #654C99 |
|---|---|
| RGB | rgb(101, 76, 153) |
| HSL | hsl(259, 34%, 45%) |
| HSV | hsv(259, 50%, 60%) |
| CMYK | cmyk(34%, 50.3%, 0%, 40%) |
| CIE-LAB | lab(38.26, 28.27, -38.56) |
| CIE-LCH | lch(38.26, 47.81, 306.25°) |
| OKLab | oklab(47.94% 0.0543 -0.1087) |
| OKLCH | oklch(47.94% 0.122 296.5) |
| XYZ | xyz(13.6996, 10.2353, 31.3847) |
| Luminance | 0.1023 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.49
Twilight
#4E518B
ΔE00 6.71
Darkslateblue
#483D8B
ΔE00 6.75
Blueberry
#464196
ΔE00 6.78
Rebeccapurple
#663399
ΔE00 6.99
Ocean Blue
#4F42B5
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#654C99 #80994C
analogous
#4C5999 #654C99 #8C4C99
triadic
#654C99 #99654C #4C9965
tetradic
#654C99 #994C59 #80994C #4C998C
square
#654C99 #994C59 #80994C #4C998C
split-complementary
#654C99 #998C4C #59994C
monochromatic
#2F2347 #4A3870 #654C99 #846CB6 #A695CA
Accessibility & contrast
On white
6.89
#654C99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#654C99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #654C99
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##654C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##654C99 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315A9C
Deuteranopia (green-blind)
#365997
Tritanopia (blue-blind)
#595B6B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #654c99; /* rgb */ color: rgb(101, 76, 153); /* oklch */ color: oklch(47.9% 0.122 296.5);
Tailwind
colors: {
custom: {
50: '#937eb7',
500: '#654c99',
950: '#000000',
},
}SCSS
$custom: #654c99; $custom-light: #937eb7; $custom-dark: #000000;
JSON
{
"hex": "#654c99",
"rgb": {
"r": 101,
"g": 76,
"b": 153
},
"hsl": {
"h": 259.481,
"s": 33.624,
"l": 44.902
},
"oklch": {
"l": 0.47935,
"c": 0.12153,
"h": 296.5
},
"luminance": 0.10235
}Semantic roles & 50–950 ramp
primary
#654C99
secondary
#A8B78A
accent
#CA5EA7
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80