#B147E8#B147E8
#B147E8 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 61.1% C 0.237 H 311.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #B147E8 |
|---|---|
| RGB | rgb(177, 71, 232) |
| HSL | hsl(280, 78%, 59%) |
| HSV | hsv(280, 69%, 91%) |
| CMYK | cmyk(23.7%, 69.4%, 0%, 9%) |
| CIE-LAB | lab(51.47, 67.37, -62.84) |
| CIE-LCH | lch(51.47, 92.12, 316.99°) |
| OKLab | oklab(61.14% 0.1572 -0.1776) |
| OKLCH | oklch(61.14% 0.237 311.5) |
| XYZ | xyz(34.9475, 19.6807, 78.2861) |
| Luminance | 0.1968 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.41
Lighter Purple
#A55AF4
ΔE00 4.47
Neon Purple
#BC13FE
ΔE00 4.65
Bright Purple
#BE03FD
ΔE00 4.97
Hot Purple
#CB00F5
ΔE00 4.97
Mediumorchid
#BA55D3
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B147E8 #7EE847
analogous
#6147E8 #B147E8 #E847CF
triadic
#B147E8 #E8B147 #47E8B1
tetradic
#B147E8 #E86147 #7EE847 #47CFE8
square
#B147E8 #E86147 #7EE847 #47CFE8
split-complementary
#B147E8 #CFE847 #47E861
monochromatic
#7114A1 #971BD7 #B147E8 #C87DEF #DFB4F6
Accessibility & contrast
On white
4.25
#B147E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#B147E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B147E8
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B147E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B147E8 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#327DE4
Tritanopia (blue-blind)
#AA6A93
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #b147e8; /* rgb */ color: rgb(177, 71, 232); /* oklch */ color: oklch(61.1% 0.237 311.5);
Tailwind
colors: {
custom: {
50: '#cd83f0',
500: '#b147e8',
950: '#000000',
},
}SCSS
$custom: #b147e8; $custom-light: #cd83f0; $custom-dark: #000000;
JSON
{
"hex": "#b147e8",
"rgb": {
"r": 177,
"g": 71,
"b": 232
},
"hsl": {
"h": 279.503,
"s": 77.778,
"l": 59.412
},
"oklch": {
"l": 0.61142,
"c": 0.23717,
"h": 311.5
},
"luminance": 0.1968
}Semantic roles & 50–950 ramp
primary
#B147E8
secondary
#BBE5A6
accent
#F43475
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B17
muted
#837C85