#B33AA6#B33AA6
#B33AA6 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.1% C 0.197 H 332.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B33AA6 |
|---|---|
| RGB | rgb(179, 58, 166) |
| HSL | hsl(306, 51%, 46%) |
| HSV | hsv(306, 68%, 70%) |
| CMYK | cmyk(0%, 67.6%, 7.3%, 29.8%) |
| CIE-LAB | lab(46.13, 60.83, -33.21) |
| CIE-LCH | lch(46.13, 69.30, 331.37°) |
| OKLab | oklab(56.14% 0.1748 -0.0911) |
| OKLCH | oklch(56.14% 0.197 332.5) |
| XYZ | xyz(26.9865, 15.3651, 37.6134) |
| Luminance | 0.1536 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.74
Medium Purple
#9E43A2
ΔE00 3.89
Purpley Pink
#C83CB9
ΔE00 4.92
Barney
#AC1DB8
ΔE00 5.87
Purply
#983FB2
ΔE00 6.50
Pinky Purple
#C94CBE
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B33AA6 #3AB347
analogous
#843AB3 #B33AA6 #B33A6A
triadic
#B33AA6 #A6B33A #3AA6B3
tetradic
#B33AA6 #B3843A #3AB347 #3A6AB3
square
#B33AA6 #B3843A #3AB347 #3A6AB3
split-complementary
#B33AA6 #6AB33A #3AB384
monochromatic
#571C50 #852B7B #B33AA6 #CB5FC0 #DA8DD2
Accessibility & contrast
On white
5.16
#B33AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#B33AA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B33AA6
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B33AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B33AA6 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3562A9
Deuteranopia (green-blind)
#5F73A3
Tritanopia (blue-blind)
#BB456B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #b33aa6; /* rgb */ color: rgb(179, 58, 166); /* oklch */ color: oklch(56.1% 0.197 332.5);
Tailwind
colors: {
custom: {
50: '#cd7ac1',
500: '#b33aa6',
950: '#000000',
},
}SCSS
$custom: #b33aa6; $custom-light: #cd7ac1; $custom-dark: #000000;
JSON
{
"hex": "#b33aa6",
"rgb": {
"r": 179,
"g": 58,
"b": 166
},
"hsl": {
"h": 306.446,
"s": 51.055,
"l": 46.471
},
"oklch": {
"l": 0.56142,
"c": 0.19707,
"h": 332.5
},
"luminance": 0.15363
}Semantic roles & 50–950 ramp
primary
#B33AA6
secondary
#84C58B
accent
#DB5C4D
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81