#B552CF#B552CF
#B552CF is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.3% C 0.201 H 318.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B552CF |
|---|---|
| RGB | rgb(181, 82, 207) |
| HSL | hsl(288, 57%, 57%) |
| HSV | hsv(288, 60%, 81%) |
| CMYK | cmyk(12.6%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(52.25, 58.44, -47.38) |
| CIE-LCH | lch(52.25, 75.23, 320.96°) |
| OKLab | oklab(61.33% 0.1509 -0.1323) |
| OKLCH | oklch(61.33% 0.201 318.8) |
| XYZ | xyz(33.3343, 20.3647, 61.1943) |
| Luminance | 0.2036 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 1.38
Lightish Purple
#A552E6
ΔE00 5.30
Amethyst
#9B5FC0
ΔE00 5.37
Pinky Purple
#C94CBE
ΔE00 5.46
Pinkish Purple
#D648D7
ΔE00 5.62
Purple Pink
#D725DE
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B552CF #6CCF52
analogous
#7752CF #B552CF #CF52AB
triadic
#B552CF #CFB552 #52CFB5
tetradic
#B552CF #CF7752 #6CCF52 #52ABCF
square
#B552CF #CF7752 #6CCF52 #52ABCF
split-complementary
#B552CF #ABCF52 #52CF77
monochromatic
#6F2482 #9831B2 #B552CF #C982DC #DEB2EA
Accessibility & contrast
On white
4.14
#B552CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#B552CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B552CF
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B552CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B552CF | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3276D3
Deuteranopia (green-blind)
#5980CC
Tritanopia (blue-blind)
#B56789
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #b552cf; /* rgb */ color: rgb(181, 82, 207); /* oklch */ color: oklch(61.3% 0.201 318.8);
Tailwind
colors: {
custom: {
50: '#ce88de',
500: '#b552cf',
950: '#000000',
},
}SCSS
$custom: #b552cf; $custom-light: #ce88de; $custom-dark: #000000;
JSON
{
"hex": "#b552cf",
"rgb": {
"r": 181,
"g": 82,
"b": 207
},
"hsl": {
"h": 287.52,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.61332,
"c": 0.20068,
"h": 318.8
},
"luminance": 0.20363
}Semantic roles & 50–950 ramp
primary
#B552CF
secondary
#AFD8A5
accent
#E04868
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83