#B147D1#B147D1
#B147D1 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.7% C 0.216 H 317.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #B147D1 |
|---|---|
| RGB | rgb(177, 71, 209) |
| HSL | hsl(286, 60%, 55%) |
| HSV | hsv(286, 66%, 82%) |
| CMYK | cmyk(15.3%, 66%, 0%, 18%) |
| CIE-LAB | lab(50.05, 62.76, -52.07) |
| CIE-LCH | lch(50.05, 81.54, 320.32°) |
| OKLab | oklab(59.66% 0.1589 -0.146) |
| OKLCH | oklch(59.66% 0.216 317.4) |
| XYZ | xyz(31.8917, 18.4583, 62.1922) |
| Luminance | 0.1846 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.83
Lightish Purple
#A552E6
ΔE00 4.67
Purple Pink
#D725DE
ΔE00 6.04
Hot Purple
#CB00F5
ΔE00 6.09
Amethyst
#9B5FC0
ΔE00 6.10
Purpley Pink
#C83CB9
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B147D1 #67D147
analogous
#6C47D1 #B147D1 #D147AC
triadic
#B147D1 #D1B147 #47D1B1
tetradic
#B147D1 #D16C47 #67D147 #47ACD1
square
#B147D1 #D16C47 #67D147 #47ACD1
split-complementary
#B147D1 #ACD147 #47D16C
monochromatic
#68207E #912CAF #B147D1 #C678DD #DBA9E9
Accessibility & contrast
On white
4.48
#B147D1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#B147D1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B147D1
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B147D1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B147D1 | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0970D5
Deuteranopia (green-blind)
#4B7ACE
Tritanopia (blue-blind)
#B06186
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #b147d1; /* rgb */ color: rgb(177, 71, 209); /* oklch */ color: oklch(59.7% 0.216 317.4);
Tailwind
colors: {
custom: {
50: '#cc82e0',
500: '#b147d1',
950: '#000000',
},
}SCSS
$custom: #b147d1; $custom-light: #cc82e0; $custom-dark: #000000;
JSON
{
"hex": "#b147d1",
"rgb": {
"r": 177,
"g": 71,
"b": 209
},
"hsl": {
"h": 286.087,
"s": 60,
"l": 54.902
},
"oklch": {
"l": 0.59664,
"c": 0.21581,
"h": 317.4
},
"luminance": 0.18457
}Semantic roles & 50–950 ramp
primary
#B147D1
secondary
#AAD79D
accent
#E34569
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83