#B147CC#B147CC
#B147CC is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.211 H 318.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B147CC |
|---|---|
| RGB | rgb(177, 71, 204) |
| HSL | hsl(288, 57%, 54%) |
| HSV | hsv(288, 65%, 80%) |
| CMYK | cmyk(13.2%, 65.2%, 0%, 20%) |
| CIE-LAB | lab(49.76, 61.79, -49.67) |
| CIE-LCH | lch(49.76, 79.27, 321.21°) |
| OKLab | oklab(59.36% 0.1591 -0.139) |
| OKLCH | oklch(59.36% 0.211 318.9) |
| XYZ | xyz(31.2823, 18.2146, 58.9830) |
| Luminance | 0.1821 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.93
Lightish Purple
#A552E6
ΔE00 5.39
Purpley Pink
#C83CB9
ΔE00 5.99
Amethyst
#9B5FC0
ΔE00 5.99
Purple Pink
#D725DE
ΔE00 6.13
Purply
#983FB2
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B147CC #62CC47
analogous
#6F47CC #B147CC #CC47A4
triadic
#B147CC #CCB147 #47CCB1
tetradic
#B147CC #CC6F47 #62CC47 #47A4CC
square
#B147CC #CC6F47 #62CC47 #47A4CC
split-complementary
#B147CC #A4CC47 #47CC6F
monochromatic
#662177 #8F2EA7 #B147CC #C577D9 #DAA7E7
Accessibility & contrast
On white
4.52
#B147CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#B147CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B147CC
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B147CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B147CC | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#196FD0
Deuteranopia (green-blind)
#4F7AC9
Tritanopia (blue-blind)
#B15F84
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #b147cc; /* rgb */ color: rgb(177, 71, 204); /* oklch */ color: oklch(59.4% 0.211 318.9);
Tailwind
colors: {
custom: {
50: '#cc82dc',
500: '#b147cc',
950: '#000000',
},
}SCSS
$custom: #b147cc; $custom-light: #cc82dc; $custom-dark: #000000;
JSON
{
"hex": "#b147cc",
"rgb": {
"r": 177,
"g": 71,
"b": 204
},
"hsl": {
"h": 287.82,
"s": 56.596,
"l": 53.922
},
"oklch": {
"l": 0.5936,
"c": 0.21123,
"h": 318.9
},
"luminance": 0.18213
}Semantic roles & 50–950 ramp
primary
#B147CC
secondary
#A7D49B
accent
#E04867
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83