#B140B1#B140B1
#B140B1 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 57.1% C 0.197 H 327.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B140B1 |
|---|---|
| RGB | rgb(177, 64, 177) |
| HSL | hsl(300, 47%, 47%) |
| HSV | hsv(300, 64%, 69%) |
| CMYK | cmyk(0%, 63.8%, 0%, 30.6%) |
| CIE-LAB | lab(47.22, 59.78, -38.00) |
| CIE-LCH | lch(47.22, 70.84, 327.56°) |
| OKLab | oklab(57.05% 0.1666 -0.105) |
| OKLCH | oklch(57.05% 0.197 327.8) |
| XYZ | xyz(27.9003, 16.1901, 43.2419) |
| Luminance | 0.1619 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.41
Medium Purple
#9E43A2
ΔE00 3.91
Purpley Pink
#C83CB9
ΔE00 4.34
Purply
#983FB2
ΔE00 5.39
Barney
#AC1DB8
ΔE00 5.46
Pinky Purple
#C94CBE
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B140B1 #40B140
analogous
#7940B1 #B140B1 #B14079
triadic
#B140B1 #B1B140 #40B1B1
tetradic
#B140B1 #B17940 #40B140 #4079B1
square
#B140B1 #B17940 #40B140 #4079B1
split-complementary
#B140B1 #79B140 #40B179
monochromatic
#571F57 #843084 #B140B1 #C866C8 #D893D8
Accessibility & contrast
On white
4.96
#B140B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#B140B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B140B1
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B140B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B140B1 | 1.00 | 4.96 | 4.24 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3167B4
Deuteranopia (green-blind)
#5B75AE
Tritanopia (blue-blind)
#B64F73
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #b140b1; /* rgb */ color: rgb(177, 64, 177); /* oklch */ color: oklch(57.1% 0.197 327.8);
Tailwind
colors: {
custom: {
50: '#cb7dc9',
500: '#b140b1',
950: '#000000',
},
}SCSS
$custom: #b140b1; $custom-light: #cb7dc9; $custom-dark: #000000;
JSON
{
"hex": "#b140b1",
"rgb": {
"r": 177,
"g": 64,
"b": 177
},
"hsl": {
"h": 300,
"s": 46.888,
"l": 47.255
},
"oklch": {
"l": 0.57053,
"c": 0.19691,
"h": 327.8
},
"luminance": 0.16188
}Semantic roles & 50–950 ramp
primary
#B140B1
secondary
#89C389
accent
#D75151
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82