#6552BB#6552BB
#6552BB is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.3% C 0.159 H 287.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #6552BB |
|---|---|
| RGB | rgb(101, 82, 187) |
| HSL | hsl(251, 44%, 53%) |
| HSV | hsv(251, 56%, 73%) |
| CMYK | cmyk(46%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(41.83, 34.39, -53.02) |
| CIE-LCH | lch(41.83, 63.19, 302.97°) |
| OKLab | oklab(51.27% 0.0485 -0.1512) |
| OKLCH | oklch(51.27% 0.159 287.8) |
| XYZ | xyz(17.3512, 12.3884, 48.4810) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 2.49
Slate Blue
#6A5ACD
ΔE00 3.65
Light Indigo
#6D5ACF
ΔE00 3.97
Bluey Purple
#6241C7
ΔE00 4.94
Dark Periwinkle
#665FD1
ΔE00 5.23
Ocean Blue
#4F42B5
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6552BB #A8BB52
analogous
#5274BB #6552BB #9952BB
triadic
#6552BB #BB6552 #52BB65
tetradic
#6552BB #BB5274 #A8BB52 #52BB99
square
#6552BB #BB5274 #A8BB52 #52BB99
split-complementary
#6552BB #BB9952 #74BB52
monochromatic
#352969 #4B3B95 #6552BB #8C7ECC #B3AADE
Accessibility & contrast
On white
6.04
#6552BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#6552BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6552BB
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6552BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6552BB | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1465BF
Deuteranopia (green-blind)
#1460B9
Tritanopia (blue-blind)
#4A697E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6552bb; /* rgb */ color: rgb(101, 82, 187); /* oklch */ color: oklch(51.3% 0.159 287.8);
Tailwind
colors: {
custom: {
50: '#9783d0',
500: '#6552bb',
950: '#000000',
},
}SCSS
$custom: #6552bb; $custom-light: #9783d0; $custom-dark: #000000;
JSON
{
"hex": "#6552bb",
"rgb": {
"r": 101,
"g": 82,
"b": 187
},
"hsl": {
"h": 250.857,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.5127,
"c": 0.15875,
"h": 287.8
},
"luminance": 0.12389
}Semantic roles & 50–950 ramp
primary
#6552BB
secondary
#C3CB9E
accent
#D354BC
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82