#B752CC#B752CC
#B752CC is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.4% C 0.199 H 320.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #B752CC |
|---|---|
| RGB | rgb(183, 82, 204) |
| HSL | hsl(290, 54%, 56%) |
| HSV | hsv(290, 60%, 80%) |
| CMYK | cmyk(10.3%, 59.8%, 0%, 20%) |
| CIE-LAB | lab(52.36, 58.35, -45.47) |
| CIE-LCH | lch(52.36, 73.98, 322.07°) |
| OKLab | oklab(61.42% 0.1532 -0.1267) |
| OKLCH | oklch(61.42% 0.199 320.4) |
| XYZ | xyz(33.4435, 20.4630, 59.3032) |
| Luminance | 0.2046 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 1.41
Pinky Purple
#C94CBE
ΔE00 4.75
Pinkish Purple
#D648D7
ΔE00 5.23
Purpley Pink
#C83CB9
ΔE00 5.59
Amethyst
#9B5FC0
ΔE00 5.61
Purple Pink
#D725DE
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B752CC #67CC52
analogous
#7A52CC #B752CC #CC52A4
triadic
#B752CC #CCB752 #52CCB7
tetradic
#B752CC #CC7A52 #67CC52 #52A4CC
square
#B752CC #CC7A52 #67CC52 #52A4CC
split-complementary
#B752CC #A4CC52 #52CC7A
monochromatic
#6F257E #9933AE #B752CC #CB81DA #DEB1E8
Accessibility & contrast
On white
4.12
#B752CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#B752CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B752CC
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B752CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B752CC | 1.00 | 4.12 | 5.09 | 5.09 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3676D0
Deuteranopia (green-blind)
#5D81C9
Tritanopia (blue-blind)
#B86587
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #b752cc; /* rgb */ color: rgb(183, 82, 204); /* oklch */ color: oklch(61.4% 0.199 320.4);
Tailwind
colors: {
custom: {
50: '#cf88dc',
500: '#b752cc',
950: '#000000',
},
}SCSS
$custom: #b752cc; $custom-light: #cf88dc; $custom-dark: #000000;
JSON
{
"hex": "#b752cc",
"rgb": {
"r": 183,
"g": 82,
"b": 204
},
"hsl": {
"h": 289.672,
"s": 54.464,
"l": 56.078
},
"oklch": {
"l": 0.61416,
"c": 0.19876,
"h": 320.4
},
"luminance": 0.20461
}Semantic roles & 50–950 ramp
primary
#B752CC
secondary
#ACD6A4
accent
#DE4A63
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83