#B13BAA#B13BAA
#B13BAA is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.2% C 0.198 H 330.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B13BAA |
|---|---|
| RGB | rgb(177, 59, 170) |
| HSL | hsl(304, 50%, 46%) |
| HSV | hsv(304, 67%, 69%) |
| CMYK | cmyk(0%, 66.7%, 4%, 30.6%) |
| CIE-LAB | lab(46.15, 60.60, -35.57) |
| CIE-LCH | lch(46.15, 70.27, 329.59°) |
| OKLab | oklab(56.16% 0.1718 -0.0979) |
| OKLCH | oklch(56.16% 0.198 330.3) |
| XYZ | xyz(26.9510, 15.3793, 39.5714) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.62
Medium Purple
#9E43A2
ΔE00 3.49
Purpley Pink
#C83CB9
ΔE00 4.92
Barney
#AC1DB8
ΔE00 5.24
Purply
#983FB2
ΔE00 5.68
Pinky Purple
#C94CBE
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B13BAA #3BB142
analogous
#7D3BB1 #B13BAA #B13B6F
triadic
#B13BAA #AAB13B #3BAAB1
tetradic
#B13BAA #B17D3B #3BB142 #3B6FB1
square
#B13BAA #B17D3B #3BB142 #3B6FB1
split-complementary
#B13BAA #6FB13B #3BB17D
monochromatic
#551C52 #832C7E #B13BAA #CA5FC3 #D98DD5
Accessibility & contrast
On white
5.15
#B13BAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#B13BAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B13BAA
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B13BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B13BAA | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3163AD
Deuteranopia (green-blind)
#5C73A7
Tritanopia (blue-blind)
#B8486E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #b13baa; /* rgb */ color: rgb(177, 59, 170); /* oklch */ color: oklch(56.2% 0.198 330.3);
Tailwind
colors: {
custom: {
50: '#cc7ac3',
500: '#b13baa',
950: '#000000',
},
}SCSS
$custom: #b13baa; $custom-light: #cc7ac3; $custom-dark: #000000;
JSON
{
"hex": "#b13baa",
"rgb": {
"r": 177,
"g": 59,
"b": 170
},
"hsl": {
"h": 303.559,
"s": 50,
"l": 46.275
},
"oklch": {
"l": 0.56159,
"c": 0.19776,
"h": 330.3
},
"luminance": 0.15377
}Semantic roles & 50–950 ramp
primary
#B13BAA
secondary
#84C488
accent
#DA574E
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81