#B442AB#B442AB
#B442AB is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.4% C 0.191 H 331.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #B442AB |
|---|---|
| RGB | rgb(180, 66, 171) |
| HSL | hsl(305, 46%, 48%) |
| HSV | hsv(305, 63%, 71%) |
| CMYK | cmyk(0%, 63.3%, 5%, 29.4%) |
| CIE-LAB | lab(47.68, 58.70, -33.73) |
| CIE-LCH | lch(47.68, 67.70, 330.12°) |
| OKLab | oklab(57.38% 0.1671 -0.0926) |
| OKLCH | oklch(57.38% 0.191 331) |
| XYZ | xyz(28.1212, 16.5421, 40.2320) |
| Luminance | 0.1654 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.34
Purpley Pink
#C83CB9
ΔE00 3.86
Medium Purple
#9E43A2
ΔE00 4.34
Pinky Purple
#C94CBE
ΔE00 5.72
Barney
#AC1DB8
ΔE00 6.70
Purply
#983FB2
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B442AB #42B44B
analogous
#8442B4 #B442AB #B44272
triadic
#B442AB #ABB442 #42ABB4
tetradic
#B442AB #B48442 #42B44B #4272B4
square
#B442AB #B48442 #42B44B #4272B4
split-complementary
#B442AB #72B442 #42B484
monochromatic
#5A2156 #873280 #B442AB #C96BC1 #D997D4
Accessibility & contrast
On white
4.87
#B442AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#B442AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B442AB
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B442AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B442AB | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B67AE
Deuteranopia (green-blind)
#6277A8
Tritanopia (blue-blind)
#BB4D71
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #b442ab; /* rgb */ color: rgb(180, 66, 171); /* oklch */ color: oklch(57.4% 0.191 331.0);
Tailwind
colors: {
custom: {
50: '#ce7ec4',
500: '#b442ab',
950: '#000000',
},
}SCSS
$custom: #b442ab; $custom-light: #ce7ec4; $custom-dark: #000000;
JSON
{
"hex": "#b442ab",
"rgb": {
"r": 180,
"g": 66,
"b": 171
},
"hsl": {
"h": 304.737,
"s": 46.341,
"l": 48.235
},
"oklch": {
"l": 0.57376,
"c": 0.191,
"h": 331
},
"luminance": 0.1654
}Semantic roles & 50–950 ramp
primary
#B442AB
secondary
#8DC591
accent
#D65C52
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82