#B552CE#B552CE
#B552CE is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.3% C 0.200 H 319.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B552CE |
|---|---|
| RGB | rgb(181, 82, 206) |
| HSL | hsl(288, 56%, 56%) |
| HSV | hsv(288, 60%, 81%) |
| CMYK | cmyk(12.1%, 60.2%, 0%, 19.2%) |
| CIE-LAB | lab(52.19, 58.24, -46.90) |
| CIE-LCH | lch(52.19, 74.77, 321.16°) |
| OKLab | oklab(61.28% 0.1509 -0.1308) |
| OKLCH | oklch(61.28% 0.2 319.1) |
| XYZ | xyz(33.2125, 20.3160, 60.5525) |
| Luminance | 0.2031 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 1.43
Pinky Purple
#C94CBE
ΔE00 5.33
Amethyst
#9B5FC0
ΔE00 5.35
Lightish Purple
#A552E6
ΔE00 5.44
Pinkish Purple
#D648D7
ΔE00 5.61
Purple Pink
#D725DE
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B552CE #6BCE52
analogous
#7752CE #B552CE #CE52A9
triadic
#B552CE #CEB552 #52CEB5
tetradic
#B552CE #CE7752 #6BCE52 #52A9CE
square
#B552CE #CE7752 #6BCE52 #52A9CE
split-complementary
#B552CE #A9CE52 #52CE77
monochromatic
#6E2581 #9732B1 #B552CE #C982DC #DEB1E9
Accessibility & contrast
On white
4.15
#B552CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#B552CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B552CE
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B552CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B552CE | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3376D2
Deuteranopia (green-blind)
#5A80CB
Tritanopia (blue-blind)
#B56688
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #b552ce; /* rgb */ color: rgb(181, 82, 206); /* oklch */ color: oklch(61.3% 0.200 319.1);
Tailwind
colors: {
custom: {
50: '#ce88dd',
500: '#b552ce',
950: '#000000',
},
}SCSS
$custom: #b552ce; $custom-light: #ce88dd; $custom-dark: #000000;
JSON
{
"hex": "#b552ce",
"rgb": {
"r": 181,
"g": 82,
"b": 206
},
"hsl": {
"h": 287.903,
"s": 55.856,
"l": 56.471
},
"oklch": {
"l": 0.61275,
"c": 0.19973,
"h": 319.1
},
"luminance": 0.20315
}Semantic roles & 50–950 ramp
primary
#B552CE
secondary
#AFD7A4
accent
#DF4967
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83