#B142B1#B142B1
#B142B1 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.3% C 0.194 H 327.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #B142B1 |
|---|---|
| RGB | rgb(177, 66, 177) |
| HSL | hsl(300, 46%, 48%) |
| HSV | hsv(300, 63%, 69%) |
| CMYK | cmyk(0%, 62.7%, 0%, 30.6%) |
| CIE-LAB | lab(47.52, 58.96, -37.53) |
| CIE-LCH | lch(47.52, 69.89, 327.52°) |
| OKLab | oklab(57.27% 0.1643 -0.1036) |
| OKLCH | oklch(57.27% 0.194 327.7) |
| XYZ | xyz(28.0151, 16.4197, 43.2802) |
| Luminance | 0.1642 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.48
Medium Purple
#9E43A2
ΔE00 4.01
Purpley Pink
#C83CB9
ΔE00 4.21
Purply
#983FB2
ΔE00 5.57
Barney
#AC1DB8
ΔE00 5.81
Pinky Purple
#C94CBE
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B142B1 #42B142
analogous
#7942B1 #B142B1 #B14279
triadic
#B142B1 #B1B142 #42B1B1
tetradic
#B142B1 #B17942 #42B142 #4279B1
square
#B142B1 #B17942 #42B142 #4279B1
split-complementary
#B142B1 #79B142 #42B179
monochromatic
#582158 #843184 #B142B1 #C769C7 #D896D8
Accessibility & contrast
On white
4.90
#B142B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#B142B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B142B1
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B142B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B142B1 | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3467B4
Deuteranopia (green-blind)
#5C76AE
Tritanopia (blue-blind)
#B65074
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #b142b1; /* rgb */ color: rgb(177, 66, 177); /* oklch */ color: oklch(57.3% 0.194 327.7);
Tailwind
colors: {
custom: {
50: '#cb7ec9',
500: '#b142b1',
950: '#000000',
},
}SCSS
$custom: #b142b1; $custom-light: #cb7ec9; $custom-dark: #000000;
JSON
{
"hex": "#b142b1",
"rgb": {
"r": 177,
"g": 66,
"b": 177
},
"hsl": {
"h": 300,
"s": 45.679,
"l": 47.647
},
"oklch": {
"l": 0.57268,
"c": 0.19422,
"h": 327.7
},
"luminance": 0.16418
}Semantic roles & 50–950 ramp
primary
#B142B1
secondary
#8BC38B
accent
#D55252
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82