#B13AA2#B13AA2
#B13AA2 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.6% C 0.193 H 333.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B13AA2 |
|---|---|
| RGB | rgb(177, 58, 162) |
| HSL | hsl(308, 51%, 46%) |
| HSV | hsv(308, 67%, 69%) |
| CMYK | cmyk(0%, 67.2%, 8.5%, 30.6%) |
| CIE-LAB | lab(45.61, 59.69, -31.67) |
| CIE-LCH | lch(45.61, 67.58, 332.05°) |
| OKLab | oklab(55.64% 0.1723 -0.0867) |
| OKLCH | oklch(55.64% 0.193 333.3) |
| XYZ | xyz(26.1662, 14.9840, 35.6895) |
| Luminance | 0.1498 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.44
Medium Purple
#9E43A2
ΔE00 3.72
Purpley Pink
#C83CB9
ΔE00 5.56
Barney
#AC1DB8
ΔE00 6.13
Purply
#983FB2
ΔE00 6.65
Warm Purple
#952E8F
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B13AA2 #3AB149
analogous
#843AB1 #B13AA2 #B13A66
triadic
#B13AA2 #A2B13A #3AA2B1
tetradic
#B13AA2 #B1843A #3AB149 #3A66B1
square
#B13AA2 #B1843A #3AB149 #3A66B1
split-complementary
#B13AA2 #66B13A #3AB184
monochromatic
#551C4E #832B78 #B13AA2 #CA5EBD #D98CD0
Accessibility & contrast
On white
5.25
#B13AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#B13AA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B13AA2
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B13AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B13AA2 | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#5F729F
Tritanopia (blue-blind)
#B94469
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #b13aa2; /* rgb */ color: rgb(177, 58, 162); /* oklch */ color: oklch(55.6% 0.193 333.3);
Tailwind
colors: {
custom: {
50: '#cc7abe',
500: '#b13aa2',
950: '#000000',
},
}SCSS
$custom: #b13aa2; $custom-light: #cc7abe; $custom-dark: #000000;
JSON
{
"hex": "#b13aa2",
"rgb": {
"r": 177,
"g": 58,
"b": 162
},
"hsl": {
"h": 307.563,
"s": 50.638,
"l": 46.078
},
"oklch": {
"l": 0.5564,
"c": 0.19285,
"h": 333.3
},
"luminance": 0.14982
}Semantic roles & 50–950 ramp
primary
#B13AA2
secondary
#83C48B
accent
#DA5F4E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81