#B952CC#B952CC
#B952CC is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.7% C 0.200 H 321.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #B952CC |
|---|---|
| RGB | rgb(185, 82, 204) |
| HSL | hsl(291, 54%, 56%) |
| HSV | hsv(291, 60%, 80%) |
| CMYK | cmyk(9.3%, 59.8%, 0%, 20%) |
| CIE-LAB | lab(52.63, 58.84, -45.02) |
| CIE-LCH | lch(52.63, 74.09, 322.58°) |
| OKLab | oklab(61.67% 0.1555 -0.1253) |
| OKLCH | oklch(61.67% 0.2 321.1) |
| XYZ | xyz(33.9227, 20.7101, 59.3256) |
| Luminance | 0.2071 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 1.33
Pinky Purple
#C94CBE
ΔE00 4.41
Pinkish Purple
#D648D7
ΔE00 4.86
Purpley Pink
#C83CB9
ΔE00 5.39
Purple Pink
#D725DE
ΔE00 5.69
Amethyst
#9B5FC0
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B952CC #65CC52
analogous
#7C52CC #B952CC #CC52A2
triadic
#B952CC #CCB952 #52CCB9
tetradic
#B952CC #CC7C52 #65CC52 #52A2CC
square
#B952CC #CC7C52 #65CC52 #52A2CC
split-complementary
#B952CC #A2CC52 #52CC7C
monochromatic
#70257E #9B33AE #B952CC #CC81DA #DFB1E8
Accessibility & contrast
On white
4.08
#B952CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#B952CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B952CC
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B952CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B952CC | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3876D0
Deuteranopia (green-blind)
#5E81C9
Tritanopia (blue-blind)
#BB6587
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #b952cc; /* rgb */ color: rgb(185, 82, 204); /* oklch */ color: oklch(61.7% 0.200 321.1);
Tailwind
colors: {
custom: {
50: '#d188dc',
500: '#b952cc',
950: '#000000',
},
}SCSS
$custom: #b952cc; $custom-light: #d188dc; $custom-dark: #000000;
JSON
{
"hex": "#b952cc",
"rgb": {
"r": 185,
"g": 82,
"b": 204
},
"hsl": {
"h": 290.656,
"s": 54.464,
"l": 56.078
},
"oklch": {
"l": 0.61672,
"c": 0.19972,
"h": 321.1
},
"luminance": 0.20709
}Semantic roles & 50–950 ramp
primary
#B952CC
secondary
#ACD6A4
accent
#DE4A61
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83