#B536B6#B536B6
#B536B6 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.215 H 327.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B536B6 |
|---|---|
| RGB | rgb(181, 54, 182) |
| HSL | hsl(300, 54%, 46%) |
| HSV | hsv(300, 70%, 71%) |
| CMYK | cmyk(0.5%, 70.3%, 0%, 28.6%) |
| CIE-LAB | lab(46.77, 65.36, -41.62) |
| CIE-LCH | lch(46.77, 77.49, 327.51°) |
| OKLab | oklab(56.93% 0.1818 -0.1153) |
| OKLCH | oklch(56.93% 0.215 327.6) |
| XYZ | xyz(28.8183, 15.8415, 45.7868) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 4.27
Ugly Purple
#A442A0
ΔE00 4.37
Purpley Pink
#C83CB9
ΔE00 4.49
Medium Purple
#9E43A2
ΔE00 4.72
Purply
#983FB2
ΔE00 5.37
Pinky Purple
#C94CBE
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B536B6 #37B636
analogous
#7536B6 #B536B6 #B63677
triadic
#B536B6 #B6B536 #36B6B5
tetradic
#B536B6 #B67536 #37B636 #3677B6
square
#B536B6 #B67536 #37B636 #3677B6
split-complementary
#B536B6 #77B636 #36B675
monochromatic
#571A58 #862887 #B536B6 #CD5BCE #DC8ADC
Accessibility & contrast
On white
5.04
#B536B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#B536B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B536B6
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B536B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B536B6 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F64BA
Deuteranopia (green-blind)
#5775B3
Tritanopia (blue-blind)
#BA4972
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #b536b6; /* rgb */ color: rgb(181, 54, 182); /* oklch */ color: oklch(56.9% 0.215 327.6);
Tailwind
colors: {
custom: {
50: '#cf79cc',
500: '#b536b6',
950: '#000000',
},
}SCSS
$custom: #b536b6; $custom-light: #cf79cc; $custom-dark: #000000;
JSON
{
"hex": "#b536b6",
"rgb": {
"r": 181,
"g": 54,
"b": 182
},
"hsl": {
"h": 299.531,
"s": 54.237,
"l": 46.275
},
"oklch": {
"l": 0.56932,
"c": 0.21531,
"h": 327.6
},
"luminance": 0.15839
}Semantic roles & 50–950 ramp
primary
#B536B6
secondary
#82C681
accent
#DE4A4B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82