#B141B2#B141B2
#B141B2 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.2% C 0.196 H 327.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B141B2 |
|---|---|
| RGB | rgb(177, 65, 178) |
| HSL | hsl(299, 47%, 48%) |
| HSV | hsv(299, 63%, 70%) |
| CMYK | cmyk(0.6%, 63.5%, 0%, 30.2%) |
| CIE-LAB | lab(47.42, 59.55, -38.28) |
| CIE-LCH | lch(47.42, 70.79, 327.27°) |
| OKLab | oklab(57.21% 0.1655 -0.1058) |
| OKLCH | oklch(57.21% 0.196 327.4) |
| XYZ | xyz(28.0572, 16.3439, 43.7877) |
| Luminance | 0.1634 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.57
Medium Purple
#9E43A2
ΔE00 4.03
Purpley Pink
#C83CB9
ΔE00 4.27
Purply
#983FB2
ΔE00 5.41
Barney
#AC1DB8
ΔE00 5.58
Pinky Purple
#C94CBE
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B141B2 #42B241
analogous
#7841B2 #B141B2 #B2417A
triadic
#B141B2 #B2B141 #41B2B1
tetradic
#B141B2 #B27841 #42B241 #417AB2
square
#B141B2 #B27841 #42B241 #417AB2
split-complementary
#B141B2 #7AB241 #41B278
monochromatic
#582058 #843185 #B141B2 #C768C8 #D895D8
Accessibility & contrast
On white
4.92
#B141B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#B141B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B141B2
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B141B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B141B2 | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#5B76AF
Tritanopia (blue-blind)
#B65074
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #b141b2; /* rgb */ color: rgb(177, 65, 178); /* oklch */ color: oklch(57.2% 0.196 327.4);
Tailwind
colors: {
custom: {
50: '#cb7ec9',
500: '#b141b2',
950: '#000000',
},
}SCSS
$custom: #b141b2; $custom-light: #cb7ec9; $custom-dark: #000000;
JSON
{
"hex": "#b141b2",
"rgb": {
"r": 177,
"g": 65,
"b": 178
},
"hsl": {
"h": 299.469,
"s": 46.502,
"l": 47.647
},
"oklch": {
"l": 0.57214,
"c": 0.1964,
"h": 327.4
},
"luminance": 0.16342
}Semantic roles & 50–950 ramp
primary
#B141B2
secondary
#8BC48B
accent
#D65253
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82