#B536B2#B536B2
#B536B2 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.7% C 0.212 H 328.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B536B2 |
|---|---|
| RGB | rgb(181, 54, 178) |
| HSL | hsl(301, 54%, 46%) |
| HSV | hsv(301, 70%, 71%) |
| CMYK | cmyk(0%, 70.2%, 1.7%, 29%) |
| CIE-LAB | lab(46.55, 64.70, -39.62) |
| CIE-LCH | lch(46.55, 75.87, 328.52°) |
| OKLab | oklab(56.71% 0.1818 -0.1095) |
| OKLCH | oklch(56.71% 0.212 328.9) |
| XYZ | xyz(28.4108, 15.6785, 43.6407) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.90
Medium Purple
#9E43A2
ΔE00 4.43
Purpley Pink
#C83CB9
ΔE00 4.45
Barney
#AC1DB8
ΔE00 4.47
Purply
#983FB2
ΔE00 5.58
Pinky Purple
#C94CBE
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B536B2 #36B539
analogous
#7836B5 #B536B2 #B53672
triadic
#B536B2 #B2B536 #36B2B5
tetradic
#B536B2 #B57836 #36B539 #3672B5
square
#B536B2 #B57836 #36B539 #3672B5
split-complementary
#B536B2 #72B536 #36B578
monochromatic
#571A55 #862884 #B536B2 #CE5ACB #DC89DA
Accessibility & contrast
On white
5.08
#B536B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#B536B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B536B2
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B536B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B536B2 | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2463B5
Deuteranopia (green-blind)
#5974AF
Tritanopia (blue-blind)
#BB4770
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #b536b2; /* rgb */ color: rgb(181, 54, 178); /* oklch */ color: oklch(56.7% 0.212 328.9);
Tailwind
colors: {
custom: {
50: '#cf79c9',
500: '#b536b2',
950: '#000000',
},
}SCSS
$custom: #b536b2; $custom-light: #cf79c9; $custom-dark: #000000;
JSON
{
"hex": "#b536b2",
"rgb": {
"r": 181,
"g": 54,
"b": 178
},
"hsl": {
"h": 301.417,
"s": 54.043,
"l": 46.078
},
"oklch": {
"l": 0.56707,
"c": 0.21219,
"h": 328.9
},
"luminance": 0.15676
}Semantic roles & 50–950 ramp
primary
#B536B2
secondary
#81C682
accent
#DD4E4A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82