#B33CAB#B33CAB
#B33CAB is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.6% C 0.198 H 330.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B33CAB |
|---|---|
| RGB | rgb(179, 60, 171) |
| HSL | hsl(304, 50%, 47%) |
| HSV | hsv(304, 66%, 70%) |
| CMYK | cmyk(0%, 66.5%, 4.5%, 29.8%) |
| CIE-LAB | lab(46.66, 60.86, -35.35) |
| CIE-LCH | lch(46.66, 70.38, 329.85°) |
| OKLab | oklab(56.6% 0.1729 -0.0972) |
| OKLCH | oklch(56.6% 0.198 330.7) |
| XYZ | xyz(27.5568, 15.7577, 40.1103) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.95
Medium Purple
#9E43A2
ΔE00 3.87
Purpley Pink
#C83CB9
ΔE00 4.43
Barney
#AC1DB8
ΔE00 5.58
Purply
#983FB2
ΔE00 6.04
Pinky Purple
#C94CBE
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B33CAB #3CB344
analogous
#803CB3 #B33CAB #B33C6F
triadic
#B33CAB #ABB33C #3CABB3
tetradic
#B33CAB #B3803C #3CB344 #3C6FB3
square
#B33CAB #B3803C #3CB344 #3C6FB3
split-complementary
#B33CAB #6FB33C #3CB380
monochromatic
#571D53 #852D7F #B33CAB #CA62C3 #DA90D5
Accessibility & contrast
On white
5.06
#B33CAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#B33CAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B33CAB
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B33CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B33CAB | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3364AE
Deuteranopia (green-blind)
#5E74A8
Tritanopia (blue-blind)
#BA496E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #b33cab; /* rgb */ color: rgb(179, 60, 171); /* oklch */ color: oklch(56.6% 0.198 330.7);
Tailwind
colors: {
custom: {
50: '#cd7bc4',
500: '#b33cab',
950: '#000000',
},
}SCSS
$custom: #b33cab; $custom-light: #cd7bc4; $custom-dark: #000000;
JSON
{
"hex": "#b33cab",
"rgb": {
"r": 179,
"g": 60,
"b": 171
},
"hsl": {
"h": 304.034,
"s": 49.791,
"l": 46.863
},
"oklch": {
"l": 0.56603,
"c": 0.19839,
"h": 330.7
},
"luminance": 0.15756
}Semantic roles & 50–950 ramp
primary
#B33CAB
secondary
#86C58A
accent
#D9584E
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82