#B146E2#B146E2
#B146E2 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.6% C 0.233 H 313.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #B146E2 |
|---|---|
| RGB | rgb(177, 70, 226) |
| HSL | hsl(281, 73%, 58%) |
| HSV | hsv(281, 69%, 89%) |
| CMYK | cmyk(21.7%, 69%, 0%, 11.4%) |
| CIE-LAB | lab(50.94, 66.55, -60.31) |
| CIE-LCH | lch(50.94, 89.81, 317.82°) |
| OKLab | oklab(60.64% 0.1589 -0.1701) |
| OKLCH | oklch(60.64% 0.233 313) |
| XYZ | xyz(34.0467, 19.2194, 73.8530) |
| Luminance | 0.1922 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.83
Mediumorchid
#BA55D3
ΔE00 4.63
Neon Purple
#BC13FE
ΔE00 4.88
Hot Purple
#CB00F5
ΔE00 4.96
Bright Purple
#BE03FD
ΔE00 5.12
Lighter Purple
#A55AF4
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B146E2 #77E246
analogous
#6346E2 #B146E2 #E246C5
triadic
#B146E2 #E2B146 #46E2B1
tetradic
#B146E2 #E26346 #77E246 #46C5E2
square
#B146E2 #E26346 #77E246 #46C5E2
split-complementary
#B146E2 #C5E246 #46E263
monochromatic
#6E1896 #9520CB #B146E2 #C77BEA #DEB0F3
Accessibility & contrast
On white
4.34
#B146E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#B146E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B146E2
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B146E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B146E2 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#397CDF
Tritanopia (blue-blind)
#AC678F
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #b146e2; /* rgb */ color: rgb(177, 70, 226); /* oklch */ color: oklch(60.6% 0.233 313.0);
Tailwind
colors: {
custom: {
50: '#cd82ec',
500: '#b146e2',
950: '#000000',
},
}SCSS
$custom: #b146e2; $custom-light: #cd82ec; $custom-dark: #000000;
JSON
{
"hex": "#b146e2",
"rgb": {
"r": 177,
"g": 70,
"b": 226
},
"hsl": {
"h": 281.154,
"s": 72.897,
"l": 58.039
},
"oklch": {
"l": 0.6064,
"c": 0.23277,
"h": 313
},
"luminance": 0.19218
}Semantic roles & 50–950 ramp
primary
#B146E2
secondary
#B6E1A3
accent
#F03872
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84