#654F97#654F97
#654F97 is a mid, moderate violet. Relative luminance 0.106; OKLCH L 48.4% C 0.114 H 296.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #654F97 |
|---|---|
| RGB | rgb(101, 79, 151) |
| HSL | hsl(258, 31%, 45%) |
| HSV | hsv(258, 48%, 59%) |
| CMYK | cmyk(33.1%, 47.7%, 0%, 40.8%) |
| CIE-LAB | lab(38.89, 25.88, -36.36) |
| CIE-LCH | lch(38.89, 44.63, 305.44°) |
| OKLab | oklab(48.37% 0.0498 -0.1023) |
| OKLCH | oklch(48.37% 0.114 296) |
| XYZ | xyz(13.7473, 10.5928, 30.5925) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.72
Twilight
#4E518B
ΔE00 6.14
Darkslateblue
#483D8B
ΔE00 7.28
Blueberry
#464196
ΔE00 7.30
Dusk
#4E5481
ΔE00 7.86
Rebeccapurple
#663399
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#654F97 #81974F
analogous
#4F5D97 #654F97 #894F97
triadic
#654F97 #97654F #4F9765
tetradic
#654F97 #974F5D #81974F #4F9789
square
#654F97 #974F5D #81974F #4F9789
split-complementary
#654F97 #97894F #5D974F
monochromatic
#2F2547 #4A3A6F #654F97 #846FB4 #A798C9
Accessibility & contrast
On white
6.73
#654F97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#654F97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #654F97
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##654F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##654F97 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#3C5B95
Tritanopia (blue-blind)
#5A5D6C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #654f97; /* rgb */ color: rgb(101, 79, 151); /* oklch */ color: oklch(48.4% 0.114 296.0);
Tailwind
colors: {
custom: {
50: '#9380b6',
500: '#654f97',
950: '#000000',
},
}SCSS
$custom: #654f97; $custom-light: #9380b6; $custom-dark: #000000;
JSON
{
"hex": "#654f97",
"rgb": {
"r": 101,
"g": 79,
"b": 151
},
"hsl": {
"h": 258.333,
"s": 31.304,
"l": 45.098
},
"oklch": {
"l": 0.48365,
"c": 0.1138,
"h": 296
},
"luminance": 0.10593
}Semantic roles & 50–950 ramp
primary
#654F97
secondary
#A9B68C
accent
#C760A8
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A11
muted
#7E7C80