#6652CE#6652CE
#6652CE is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.7% C 0.184 H 285.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #6652CE |
|---|---|
| RGB | rgb(102, 82, 206) |
| HSL | hsl(250, 56%, 56%) |
| HSV | hsv(250, 60%, 81%) |
| CMYK | cmyk(50.5%, 60.2%, 0%, 19.2%) |
| CIE-LAB | lab(43.23, 40.25, -61.77) |
| CIE-LCH | lch(43.23, 73.72, 303.09°) |
| OKLab | oklab(52.75% 0.0494 -0.1769) |
| OKLCH | oklch(52.75% 0.184 285.6) |
| XYZ | xyz(19.6341, 13.3146, 59.9160) |
| Luminance | 0.1332 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.40
Iris
#6258C4
ΔE00 2.50
Light Indigo
#6D5ACF
ΔE00 2.56
Dark Periwinkle
#665FD1
ΔE00 4.00
Bluey Purple
#6241C7
ΔE00 4.69
Warm Blue
#4B57DB
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6652CE #BACE52
analogous
#527CCE #6652CE #A452CE
triadic
#6652CE #CE6652 #52CE66
tetradic
#6652CE #CE527C #BACE52 #52CEA4
square
#6652CE #CE527C #BACE52 #52CEA4
split-complementary
#6652CE #CEA452 #7CCE52
monochromatic
#332581 #4632B1 #6652CE #9082DC #BAB1E9
Accessibility & contrast
On white
5.73
#6652CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#6652CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6652CE
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6652CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6652CE | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#3F6F88
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6652ce; /* rgb */ color: rgb(102, 82, 206); /* oklch */ color: oklch(52.7% 0.184 285.6);
Tailwind
colors: {
custom: {
50: '#9a83de',
500: '#6652ce',
950: '#000000',
},
}SCSS
$custom: #6652ce; $custom-light: #9a83de; $custom-dark: #000000;
JSON
{
"hex": "#6652ce",
"rgb": {
"r": 102,
"g": 82,
"b": 206
},
"hsl": {
"h": 249.677,
"s": 55.856,
"l": 56.471
},
"oklch": {
"l": 0.52746,
"c": 0.18363,
"h": 285.6
},
"luminance": 0.13316
}Semantic roles & 50–950 ramp
primary
#6652CE
secondary
#CFD7A4
accent
#DF49C7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83