#B142B3#B142B3
#B142B3 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.4% C 0.196 H 327.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B142B3 |
|---|---|
| RGB | rgb(177, 66, 179) |
| HSL | hsl(299, 46%, 48%) |
| HSV | hsv(299, 63%, 70%) |
| CMYK | cmyk(1.1%, 63.1%, 0%, 29.8%) |
| CIE-LAB | lab(47.62, 59.31, -38.54) |
| CIE-LCH | lch(47.62, 70.73, 326.98°) |
| OKLab | oklab(57.38% 0.1644 -0.1066) |
| OKLCH | oklch(57.38% 0.196 327) |
| XYZ | xyz(28.2159, 16.5000, 44.3377) |
| Luminance | 0.1650 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.74
Medium Purple
#9E43A2
ΔE00 4.16
Purpley Pink
#C83CB9
ΔE00 4.22
Purply
#983FB2
ΔE00 5.44
Barney
#AC1DB8
ΔE00 5.71
Pinky Purple
#C94CBE
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B142B3 #44B342
analogous
#7842B3 #B142B3 #B3427C
triadic
#B142B3 #B3B142 #42B3B1
tetradic
#B142B3 #B37842 #44B342 #427CB3
square
#B142B3 #B37842 #44B342 #427CB3
split-complementary
#B142B3 #7CB342 #42B378
monochromatic
#59215A #853286 #B142B3 #C66AC8 #D797D9
Accessibility & contrast
On white
4.88
#B142B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#B142B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B142B3
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B142B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B142B3 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3268B6
Deuteranopia (green-blind)
#5B76B0
Tritanopia (blue-blind)
#B65175
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #b142b3; /* rgb */ color: rgb(177, 66, 179); /* oklch */ color: oklch(57.4% 0.196 327.0);
Tailwind
colors: {
custom: {
50: '#cb7eca',
500: '#b142b3',
950: '#000000',
},
}SCSS
$custom: #b142b3; $custom-light: #cb7eca; $custom-dark: #000000;
JSON
{
"hex": "#b142b3",
"rgb": {
"r": 177,
"g": 66,
"b": 179
},
"hsl": {
"h": 298.938,
"s": 46.122,
"l": 48.039
},
"oklch": {
"l": 0.57377,
"c": 0.19589,
"h": 327
},
"luminance": 0.16498
}Semantic roles & 50–950 ramp
primary
#B142B3
secondary
#8DC48C
accent
#D65254
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82