#B142B7#B142B7
#B142B7 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.6% C 0.199 H 325.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B142B7 |
|---|---|
| RGB | rgb(177, 66, 183) |
| HSL | hsl(297, 47%, 49%) |
| HSV | hsv(297, 64%, 72%) |
| CMYK | cmyk(3.3%, 63.9%, 0%, 28.2%) |
| CIE-LAB | lab(47.83, 60.01, -40.55) |
| CIE-LCH | lch(47.83, 72.43, 325.95°) |
| OKLab | oklab(57.6% 0.1646 -0.1124) |
| OKLCH | oklch(57.6% 0.199 325.7) |
| XYZ | xyz(28.6263, 16.6642, 46.4993) |
| Luminance | 0.1666 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.30
Purpley Pink
#C83CB9
ΔE00 4.32
Medium Purple
#9E43A2
ΔE00 4.54
Purply
#983FB2
ΔE00 5.27
Barney
#AC1DB8
ΔE00 5.58
Pinky Purple
#C94CBE
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B142B7 #48B742
analogous
#7742B7 #B142B7 #B74283
triadic
#B142B7 #B7B142 #42B7B1
tetradic
#B142B7 #B77742 #48B742 #4283B7
square
#B142B7 #B77742 #48B742 #4283B7
split-complementary
#B142B7 #83B742 #42B777
monochromatic
#5A225D #85328A #B142B7 #C56CCA #D799DA
Accessibility & contrast
On white
4.85
#B142B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#B142B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B142B7
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B142B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B142B7 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E69BA
Deuteranopia (green-blind)
#5976B4
Tritanopia (blue-blind)
#B55377
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #b142b7; /* rgb */ color: rgb(177, 66, 183); /* oklch */ color: oklch(57.6% 0.199 325.7);
Tailwind
colors: {
custom: {
50: '#cb7ecd',
500: '#b142b7',
950: '#000000',
},
}SCSS
$custom: #b142b7; $custom-light: #cb7ecd; $custom-dark: #000000;
JSON
{
"hex": "#b142b7",
"rgb": {
"r": 177,
"g": 66,
"b": 183
},
"hsl": {
"h": 296.923,
"s": 46.988,
"l": 48.824
},
"oklch": {
"l": 0.57597,
"c": 0.19929,
"h": 325.7
},
"luminance": 0.16662
}Semantic roles & 50–950 ramp
primary
#B142B7
secondary
#91C68F
accent
#D75158
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82