#6652CF#6652CF
#6652CF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.8% C 0.185 H 285.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #6652CF |
|---|---|
| RGB | rgb(102, 82, 207) |
| HSL | hsl(250, 57%, 57%) |
| HSV | hsv(250, 60%, 81%) |
| CMYK | cmyk(50.7%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(43.31, 40.55, -62.22) |
| CIE-LCH | lch(43.31, 74.27, 303.09°) |
| OKLab | oklab(52.82% 0.0494 -0.1782) |
| OKLCH | oklch(52.82% 0.185 285.5) |
| XYZ | xyz(19.7559, 13.3634, 60.5578) |
| Luminance | 0.1336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.41
Light Indigo
#6D5ACF
ΔE00 2.55
Iris
#6258C4
ΔE00 2.57
Dark Periwinkle
#665FD1
ΔE00 3.98
Bluey Purple
#6241C7
ΔE00 4.72
Warm Blue
#4B57DB
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6652CF #BBCF52
analogous
#527DCF #6652CF #A552CF
triadic
#6652CF #CF6652 #52CF66
tetradic
#6652CF #CF527D #BBCF52 #52CFA5
square
#6652CF #CF527D #BBCF52 #52CFA5
split-complementary
#6652CF #CFA552 #7DCF52
monochromatic
#332482 #4631B2 #6652CF #9082DC #BBB2EA
Accessibility & contrast
On white
5.72
#6652CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#6652CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6652CF
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6652CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6652CF | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#3E6F89
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6652cf; /* rgb */ color: rgb(102, 82, 207); /* oklch */ color: oklch(52.8% 0.185 285.5);
Tailwind
colors: {
custom: {
50: '#9a83de',
500: '#6652cf',
950: '#000000',
},
}SCSS
$custom: #6652cf; $custom-light: #9a83de; $custom-dark: #000000;
JSON
{
"hex": "#6652cf",
"rgb": {
"r": 102,
"g": 82,
"b": 207
},
"hsl": {
"h": 249.6,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.52822,
"c": 0.18492,
"h": 285.5
},
"luminance": 0.13364
}Semantic roles & 50–950 ramp
primary
#6652CF
secondary
#D0D8A5
accent
#E048C8
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83