#B13CAB#B13CAB
#B13CAB is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.3% C 0.197 H 330.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B13CAB |
|---|---|
| RGB | rgb(177, 60, 171) |
| HSL | hsl(303, 49%, 46%) |
| HSV | hsv(303, 66%, 69%) |
| CMYK | cmyk(0%, 66.1%, 3.4%, 30.6%) |
| CIE-LAB | lab(46.34, 60.37, -35.86) |
| CIE-LCH | lch(46.34, 70.22, 329.29°) |
| OKLab | oklab(56.31% 0.1708 -0.0988) |
| OKLCH | oklch(56.31% 0.197 330) |
| XYZ | xyz(27.0978, 15.5211, 40.0888) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.69
Medium Purple
#9E43A2
ΔE00 3.51
Purpley Pink
#C83CB9
ΔE00 4.79
Barney
#AC1DB8
ΔE00 5.28
Purply
#983FB2
ΔE00 5.63
Pinky Purple
#C94CBE
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B13CAB #3CB142
analogous
#7D3CB1 #B13CAB #B13C71
triadic
#B13CAB #ABB13C #3CABB1
tetradic
#B13CAB #B17D3C #3CB142 #3C71B1
square
#B13CAB #B17D3C #3CB142 #3C71B1
split-complementary
#B13CAB #71B13C #3CB17D
monochromatic
#561D53 #832D7F #B13CAB #C961C4 #D98FD5
Accessibility & contrast
On white
5.12
#B13CAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#B13CAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B13CAB
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B13CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B13CAB | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3164AE
Deuteranopia (green-blind)
#5C73A8
Tritanopia (blue-blind)
#B74A6E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #b13cab; /* rgb */ color: rgb(177, 60, 171); /* oklch */ color: oklch(56.3% 0.197 330.0);
Tailwind
colors: {
custom: {
50: '#cc7bc4',
500: '#b13cab',
950: '#000000',
},
}SCSS
$custom: #b13cab; $custom-light: #cc7bc4; $custom-dark: #000000;
JSON
{
"hex": "#b13cab",
"rgb": {
"r": 177,
"g": 60,
"b": 171
},
"hsl": {
"h": 303.077,
"s": 49.367,
"l": 46.471
},
"oklch": {
"l": 0.56313,
"c": 0.19728,
"h": 330
},
"luminance": 0.15519
}Semantic roles & 50–950 ramp
primary
#B13CAB
secondary
#85C488
accent
#D9564F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82