#654792#654792
#654792 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 46.6% C 0.120 H 300.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #654792 |
|---|---|
| RGB | rgb(101, 71, 146) |
| HSL | hsl(264, 35%, 43%) |
| HSV | hsv(264, 51%, 57%) |
| CMYK | cmyk(30.8%, 51.4%, 0%, 42.7%) |
| CIE-LAB | lab(36.65, 29.41, -36.89) |
| CIE-LCH | lch(36.65, 47.18, 308.56°) |
| OKLab | oklab(46.6% 0.0606 -0.1039) |
| OKLCH | oklch(46.6% 0.12 300.3) |
| XYZ | xyz(12.8072, 9.3484, 28.3183) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.44
Rebeccapurple
#663399
ΔE00 5.83
Darkslateblue
#483D8B
ΔE00 6.38
Blueberry
#464196
ΔE00 7.04
Twilight
#4E518B
ΔE00 7.65
Ocean Blue
#4F42B5
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#654792 #749247
analogous
#474F92 #654792 #8A4792
triadic
#654792 #926547 #479265
tetradic
#654792 #92474F #749247 #47928A
square
#654792 #92474F #749247 #47928A
split-complementary
#654792 #928A47 #4F9247
monochromatic
#2C1F40 #493369 #654792 #8363B3 #A48CC7
Accessibility & contrast
On white
7.32
#654792 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#654792 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #654792
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##654792 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##654792 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5695
Deuteranopia (green-blind)
#365690
Tritanopia (blue-blind)
#5C5566
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #654792; /* rgb */ color: rgb(101, 71, 146); /* oklch */ color: oklch(46.6% 0.120 300.3);
Tailwind
colors: {
custom: {
50: '#937bb2',
500: '#654792',
950: '#000000',
},
}SCSS
$custom: #654792; $custom-light: #937bb2; $custom-dark: #000000;
JSON
{
"hex": "#654792",
"rgb": {
"r": 101,
"g": 71,
"b": 146
},
"hsl": {
"h": 264,
"s": 34.562,
"l": 42.549
},
"oklch": {
"l": 0.46598,
"c": 0.12024,
"h": 300.3
},
"luminance": 0.09349
}Semantic roles & 50–950 ramp
primary
#654792
secondary
#9FB382
accent
#CB5D9F
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0911
muted
#7E7B80