#B536B0#B536B0
#B536B0 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.6% C 0.211 H 329.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #B536B0 |
|---|---|
| RGB | rgb(181, 54, 176) |
| HSL | hsl(302, 54%, 46%) |
| HSV | hsv(302, 70%, 71%) |
| CMYK | cmyk(0%, 70.2%, 2.8%, 29%) |
| CIE-LAB | lab(46.44, 64.37, -38.61) |
| CIE-LCH | lch(46.44, 75.06, 329.05°) |
| OKLab | oklab(56.6% 0.1817 -0.1066) |
| OKLCH | oklch(56.6% 0.211 329.6) |
| XYZ | xyz(28.2115, 15.5988, 42.5909) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.70
Medium Purple
#9E43A2
ΔE00 4.33
Purpley Pink
#C83CB9
ΔE00 4.47
Barney
#AC1DB8
ΔE00 4.62
Purply
#983FB2
ΔE00 5.71
Pinky Purple
#C94CBE
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B536B0 #36B53B
analogous
#7A36B5 #B536B0 #B53670
triadic
#B536B0 #B0B536 #36B0B5
tetradic
#B536B0 #B57A36 #36B53B #3670B5
square
#B536B0 #B57A36 #36B53B #3670B5
split-complementary
#B536B0 #70B536 #36B57A
monochromatic
#571A54 #862882 #B536B0 #CE5AC9 #DC89D9
Accessibility & contrast
On white
5.10
#B536B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#B536B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B536B0
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B536B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B536B0 | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2763B3
Deuteranopia (green-blind)
#5A74AD
Tritanopia (blue-blind)
#BB476F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #b536b0; /* rgb */ color: rgb(181, 54, 176); /* oklch */ color: oklch(56.6% 0.211 329.6);
Tailwind
colors: {
custom: {
50: '#cf79c8',
500: '#b536b0',
950: '#000000',
},
}SCSS
$custom: #b536b0; $custom-light: #cf79c8; $custom-dark: #000000;
JSON
{
"hex": "#b536b0",
"rgb": {
"r": 181,
"g": 54,
"b": 176
},
"hsl": {
"h": 302.362,
"s": 54.043,
"l": 46.078
},
"oklch": {
"l": 0.56597,
"c": 0.21065,
"h": 329.6
},
"luminance": 0.15597
}Semantic roles & 50–950 ramp
primary
#B536B0
secondary
#81C683
accent
#DD504A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82