#B33BAB#B33BAB
#B33BAB is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.5% C 0.200 H 330.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B33BAB |
|---|---|
| RGB | rgb(179, 59, 171) |
| HSL | hsl(304, 50%, 47%) |
| HSV | hsv(304, 67%, 70%) |
| CMYK | cmyk(0%, 67%, 4.5%, 29.8%) |
| CIE-LAB | lab(46.52, 61.25, -35.56) |
| CIE-LCH | lch(46.52, 70.82, 329.86°) |
| OKLab | oklab(56.5% 0.174 -0.0979) |
| OKLCH | oklch(56.5% 0.2 330.7) |
| XYZ | xyz(27.5049, 15.6540, 40.0930) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.95
Medium Purple
#9E43A2
ΔE00 3.85
Purpley Pink
#C83CB9
ΔE00 4.52
Barney
#AC1DB8
ΔE00 5.44
Purply
#983FB2
ΔE00 5.98
Pinky Purple
#C94CBE
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B33BAB #3BB343
analogous
#7F3BB3 #B33BAB #B33B6F
triadic
#B33BAB #ABB33B #3BABB3
tetradic
#B33BAB #B37F3B #3BB343 #3B6FB3
square
#B33BAB #B37F3B #3BB343 #3B6FB3
split-complementary
#B33BAB #6FB33B #3BB37F
monochromatic
#571D53 #852C7F #B33BAB #CB60C4 #DA8ED5
Accessibility & contrast
On white
5.08
#B33BAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#B33BAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B33BAB
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B33BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B33BAB | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3164AE
Deuteranopia (green-blind)
#5D74A8
Tritanopia (blue-blind)
#BA486E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #b33bab; /* rgb */ color: rgb(179, 59, 171); /* oklch */ color: oklch(56.5% 0.200 330.7);
Tailwind
colors: {
custom: {
50: '#cd7bc4',
500: '#b33bab',
950: '#000000',
},
}SCSS
$custom: #b33bab; $custom-light: #cd7bc4; $custom-dark: #000000;
JSON
{
"hex": "#b33bab",
"rgb": {
"r": 179,
"g": 59,
"b": 171
},
"hsl": {
"h": 304,
"s": 50.42,
"l": 46.667
},
"oklch": {
"l": 0.56503,
"c": 0.19966,
"h": 330.7
},
"luminance": 0.15652
}Semantic roles & 50–950 ramp
primary
#B33BAB
secondary
#85C589
accent
#DA574E
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82