#6652CD#6652CD
#6652CD is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.7% C 0.182 H 285.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #6652CD |
|---|---|
| RGB | rgb(102, 82, 205) |
| HSL | hsl(250, 55%, 56%) |
| HSV | hsv(250, 60%, 80%) |
| CMYK | cmyk(50.2%, 60%, 0%, 19.6%) |
| CIE-LAB | lab(43.16, 39.95, -61.31) |
| CIE-LCH | lch(43.16, 73.18, 303.09°) |
| OKLab | oklab(52.67% 0.0495 -0.1755) |
| OKLCH | oklch(52.67% 0.182 285.7) |
| XYZ | xyz(19.5130, 13.2662, 59.2782) |
| Luminance | 0.1327 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.40
Iris
#6258C4
ΔE00 2.42
Light Indigo
#6D5ACF
ΔE00 2.58
Dark Periwinkle
#665FD1
ΔE00 4.03
Bluey Purple
#6241C7
ΔE00 4.65
Warm Blue
#4B57DB
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6652CD #B9CD52
analogous
#527CCD #6652CD #A452CD
triadic
#6652CD #CD6652 #52CD66
tetradic
#6652CD #CD527C #B9CD52 #52CDA4
square
#6652CD #CD527C #B9CD52 #52CDA4
split-complementary
#6652CD #CDA452 #7CCD52
monochromatic
#342580 #4733AF #6652CD #9081DB #BAB1E8
Accessibility & contrast
On white
5.75
#6652CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#6652CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6652CD
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6652CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6652CD | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#406F88
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6652cd; /* rgb */ color: rgb(102, 82, 205); /* oklch */ color: oklch(52.7% 0.182 285.7);
Tailwind
colors: {
custom: {
50: '#9983dd',
500: '#6652cd',
950: '#000000',
},
}SCSS
$custom: #6652cd; $custom-light: #9983dd; $custom-dark: #000000;
JSON
{
"hex": "#6652cd",
"rgb": {
"r": 102,
"g": 82,
"b": 205
},
"hsl": {
"h": 249.756,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.5267,
"c": 0.18235,
"h": 285.7
},
"luminance": 0.13267
}Semantic roles & 50–950 ramp
primary
#6652CD
secondary
#CED7A4
accent
#DE49C6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83