#654C92#654C92
#654C92 is a mid, moderate violet. Relative luminance 0.100; OKLCH L 47.5% C 0.112 H 298.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #654C92 |
|---|---|
| RGB | rgb(101, 76, 146) |
| HSL | hsl(261, 32%, 44%) |
| HSV | hsv(261, 48%, 57%) |
| CMYK | cmyk(30.8%, 47.9%, 0%, 42.7%) |
| CIE-LAB | lab(37.86, 26.36, -34.96) |
| CIE-LCH | lch(37.86, 43.79, 307.02°) |
| OKLab | oklab(47.51% 0.0534 -0.0982) |
| OKLCH | oklch(47.51% 0.112 298.5) |
| XYZ | xyz(13.1383, 10.0108, 28.4286) |
| Luminance | 0.1001 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.21
Twilight
#4E518B
ΔE00 6.64
Darkslateblue
#483D8B
ΔE00 6.99
Blueberry
#464196
ΔE00 7.42
Rebeccapurple
#663399
ΔE00 7.42
Dusk
#4E5481
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#654C92 #79924C
analogous
#4C5692 #654C92 #884C92
triadic
#654C92 #92654C #4C9265
tetradic
#654C92 #924C56 #79924C #4C9288
square
#654C92 #924C56 #79924C #4C9288
split-complementary
#654C92 #92884C #56924C
monochromatic
#2D2242 #49376A #654C92 #836AB1 #A592C6
Accessibility & contrast
On white
6.99
#654C92 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#654C92 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #654C92
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##654C92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##654C92 | 1.00 | 6.99 | 3.00 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365995
Deuteranopia (green-blind)
#3C5890
Tritanopia (blue-blind)
#5C5968
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #654c92; /* rgb */ color: rgb(101, 76, 146); /* oklch */ color: oklch(47.5% 0.112 298.5);
Tailwind
colors: {
custom: {
50: '#937eb2',
500: '#654c92',
950: '#000000',
},
}SCSS
$custom: #654c92; $custom-light: #937eb2; $custom-dark: #000000;
JSON
{
"hex": "#654c92",
"rgb": {
"r": 101,
"g": 76,
"b": 146
},
"hsl": {
"h": 261.429,
"s": 31.532,
"l": 43.529
},
"oklch": {
"l": 0.47506,
"c": 0.11182,
"h": 298.5
},
"luminance": 0.10011
}Semantic roles & 50–950 ramp
primary
#654C92
secondary
#A3B387
accent
#C860A3
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A11
muted
#7E7C80