#B147CD#B147CD
#B147CD is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.4% C 0.212 H 318.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #B147CD |
|---|---|
| RGB | rgb(177, 71, 205) |
| HSL | hsl(287, 57%, 54%) |
| HSV | hsv(287, 65%, 80%) |
| CMYK | cmyk(13.7%, 65.4%, 0%, 19.6%) |
| CIE-LAB | lab(49.81, 61.98, -50.15) |
| CIE-LCH | lch(49.81, 79.73, 321.02°) |
| OKLab | oklab(59.42% 0.1591 -0.1404) |
| OKLCH | oklch(59.42% 0.212 318.6) |
| XYZ | xyz(31.4027, 18.2627, 59.6167) |
| Luminance | 0.1826 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.90
Lightish Purple
#A552E6
ΔE00 5.24
Amethyst
#9B5FC0
ΔE00 6.01
Purple Pink
#D725DE
ΔE00 6.10
Purpley Pink
#C83CB9
ΔE00 6.11
Hot Purple
#CB00F5
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B147CD #63CD47
analogous
#6E47CD #B147CD #CD47A6
triadic
#B147CD #CDB147 #47CDB1
tetradic
#B147CD #CD6E47 #63CD47 #47A6CD
square
#B147CD #CD6E47 #63CD47 #47A6CD
split-complementary
#B147CD #A6CD47 #47CD6E
monochromatic
#662179 #8F2EA9 #B147CD #C577DA #DAA7E7
Accessibility & contrast
On white
4.51
#B147CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#B147CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B147CD
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B147CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B147CD | 1.00 | 4.51 | 4.65 | 4.65 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#166FD1
Deuteranopia (green-blind)
#4E7ACA
Tritanopia (blue-blind)
#B15F84
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #b147cd; /* rgb */ color: rgb(177, 71, 205); /* oklch */ color: oklch(59.4% 0.212 318.6);
Tailwind
colors: {
custom: {
50: '#cc82dd',
500: '#b147cd',
950: '#000000',
},
}SCSS
$custom: #b147cd; $custom-light: #cc82dd; $custom-dark: #000000;
JSON
{
"hex": "#b147cd",
"rgb": {
"r": 177,
"g": 71,
"b": 205
},
"hsl": {
"h": 287.463,
"s": 57.265,
"l": 54.118
},
"oklch": {
"l": 0.59421,
"c": 0.21215,
"h": 318.6
},
"luminance": 0.18261
}Semantic roles & 50–950 ramp
primary
#B147CD
secondary
#A7D49B
accent
#E14767
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83