#B552CC#B552CC
#B552CC is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.2% C 0.198 H 319.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B552CC |
|---|---|
| RGB | rgb(181, 82, 204) |
| HSL | hsl(289, 54%, 56%) |
| HSV | hsv(289, 60%, 80%) |
| CMYK | cmyk(11.3%, 59.8%, 0%, 20%) |
| CIE-LAB | lab(52.08, 57.85, -45.92) |
| CIE-LCH | lch(52.08, 73.86, 321.56°) |
| OKLab | oklab(61.16% 0.1508 -0.128) |
| OKLCH | oklch(61.16% 0.198 319.7) |
| XYZ | xyz(32.9711, 20.2194, 59.2810) |
| Luminance | 0.2022 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 1.60
Pinky Purple
#C94CBE
ΔE00 5.09
Amethyst
#9B5FC0
ΔE00 5.31
Pinkish Purple
#D648D7
ΔE00 5.60
Lightish Purple
#A552E6
ΔE00 5.73
Purpley Pink
#C83CB9
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B552CC #69CC52
analogous
#7852CC #B552CC #CC52A6
triadic
#B552CC #CCB552 #52CCB5
tetradic
#B552CC #CC7852 #69CC52 #52A6CC
square
#B552CC #CC7852 #69CC52 #52A6CC
split-complementary
#B552CC #A6CC52 #52CC78
monochromatic
#6E257E #9733AE #B552CC #C981DA #DDB1E8
Accessibility & contrast
On white
4.16
#B552CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#B552CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B552CC
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B552CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B552CC | 1.00 | 4.16 | 5.04 | 5.04 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3575D0
Deuteranopia (green-blind)
#5B80C9
Tritanopia (blue-blind)
#B66587
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #b552cc; /* rgb */ color: rgb(181, 82, 204); /* oklch */ color: oklch(61.2% 0.198 319.7);
Tailwind
colors: {
custom: {
50: '#ce88dc',
500: '#b552cc',
950: '#000000',
},
}SCSS
$custom: #b552cc; $custom-light: #ce88dc; $custom-dark: #000000;
JSON
{
"hex": "#b552cc",
"rgb": {
"r": 181,
"g": 82,
"b": 204
},
"hsl": {
"h": 288.689,
"s": 54.464,
"l": 56.078
},
"oklch": {
"l": 0.61161,
"c": 0.19784,
"h": 319.7
},
"luminance": 0.20218
}Semantic roles & 50–950 ramp
primary
#B552CC
secondary
#ADD6A4
accent
#DE4A66
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83