#B143AA#B143AA
#B143AA is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.0% C 0.187 H 330.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #B143AA |
|---|---|
| RGB | rgb(177, 67, 170) |
| HSL | hsl(304, 45%, 48%) |
| HSV | hsv(304, 62%, 69%) |
| CMYK | cmyk(0%, 62.1%, 4%, 30.6%) |
| CIE-LAB | lab(47.32, 57.34, -33.73) |
| CIE-LCH | lch(47.32, 66.52, 329.53°) |
| OKLab | oklab(57.01% 0.1625 -0.0927) |
| OKLCH | oklch(57.01% 0.187 330.3) |
| XYZ | xyz(27.3941, 16.2656, 39.7191) |
| Luminance | 0.1626 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.85
Medium Purple
#9E43A2
ΔE00 3.81
Purpley Pink
#C83CB9
ΔE00 4.37
Pinky Purple
#C94CBE
ΔE00 6.15
Purply
#983FB2
ΔE00 6.29
Barney
#AC1DB8
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B143AA #43B14A
analogous
#8143B1 #B143AA #B14373
triadic
#B143AA #AAB143 #43AAB1
tetradic
#B143AA #B18143 #43B14A #4373B1
square
#B143AA #B18143 #43B14A #4373B1
split-complementary
#B143AA #73B143 #43B181
monochromatic
#582155 #85327F #B143AA #C76AC1 #D897D3
Accessibility & contrast
On white
4.94
#B143AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#B143AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B143AA
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B143AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B143AA | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B67AD
Deuteranopia (green-blind)
#6076A7
Tritanopia (blue-blind)
#B74E70
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #b143aa; /* rgb */ color: rgb(177, 67, 170); /* oklch */ color: oklch(57.0% 0.187 330.3);
Tailwind
colors: {
custom: {
50: '#cb7ec3',
500: '#b143aa',
950: '#000000',
},
}SCSS
$custom: #b143aa; $custom-light: #cb7ec3; $custom-dark: #000000;
JSON
{
"hex": "#b143aa",
"rgb": {
"r": 177,
"g": 67,
"b": 170
},
"hsl": {
"h": 303.818,
"s": 45.082,
"l": 47.843
},
"oklch": {
"l": 0.57009,
"c": 0.18703,
"h": 330.3
},
"luminance": 0.16264
}Semantic roles & 50–950 ramp
primary
#B143AA
secondary
#8CC390
accent
#D55B53
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A12
muted
#827C81