#652CC6#652CC6
#652CC6 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.218 H 292.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #652CC6 |
|---|---|
| RGB | rgb(101, 44, 198) |
| HSL | hsl(262, 64%, 47%) |
| HSV | hsv(262, 78%, 78%) |
| CMYK | cmyk(49%, 77.8%, 0%, 22.4%) |
| CIE-LAB | lab(35.29, 57.60, -70.09) |
| CIE-LCH | lch(35.29, 90.72, 309.42°) |
| OKLab | oklab(46.83% 0.084 -0.2012) |
| OKLCH | oklch(46.83% 0.218 292.7) |
| XYZ | xyz(16.4577, 8.6447, 54.2166) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.26
Blurple
#5539CC
ΔE00 3.57
Blue With A Hint Of Purple
#533CC6
ΔE00 4.19
Burple
#6832E3
ΔE00 4.20
Bluey Purple
#6241C7
ΔE00 4.36
Purpley Blue
#5F34E7
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#652CC6 #8DC62C
analogous
#2C40C6 #652CC6 #B22CC6
triadic
#652CC6 #C6652C #2CC665
tetradic
#652CC6 #C62C40 #8DC62C #2CC6B2
square
#652CC6 #C62C40 #8DC62C #2CC6B2
split-complementary
#652CC6 #C6B22C #40C62C
monochromatic
#321662 #4B2194 #652CC6 #8756D9 #AA88E5
Accessibility & contrast
On white
7.70
#652CC6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#652CC6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #652CC6
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##652CC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##652CC6 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055CA
Deuteranopia (green-blind)
#0050C3
Tritanopia (blue-blind)
#465879
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #652cc6; /* rgb */ color: rgb(101, 44, 198); /* oklch */ color: oklch(46.8% 0.218 292.7);
Tailwind
colors: {
custom: {
50: '#9a6cd8',
500: '#652cc6',
950: '#000000',
},
}SCSS
$custom: #652cc6; $custom-light: #9a6cd8; $custom-dark: #000000;
JSON
{
"hex": "#652cc6",
"rgb": {
"r": 101,
"g": 44,
"b": 198
},
"hsl": {
"h": 262.208,
"s": 63.636,
"l": 47.451
},
"oklch": {
"l": 0.46834,
"c": 0.21806,
"h": 292.7
},
"luminance": 0.08645
}Semantic roles & 50–950 ramp
primary
#652CC6
secondary
#B1CE80
accent
#E741A9
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0715
muted
#7F7A83