#B022E3#B022E3
#B022E3 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.8% C 0.266 H 314.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B022E3 |
|---|---|
| RGB | rgb(176, 34, 227) |
| HSL | hsl(284, 78%, 51%) |
| HSV | hsv(284, 85%, 89%) |
| CMYK | cmyk(22.5%, 85%, 0%, 11%) |
| CIE-LAB | lab(46.87, 78.06, -67.46) |
| CIE-LCH | lch(46.87, 103.18, 319.17°) |
| OKLab | oklab(57.76% 0.1859 -0.191) |
| OKLCH | oklch(57.76% 0.266 314.2) |
| XYZ | xyz(32.3393, 15.9214, 74.0278) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Vibrant Purple
#AD03DE
ΔE00 2.33
Bright Violet
#AD0AFD
ΔE00 3.35
Bright Purple
#BE03FD
ΔE00 3.68
Neon Purple
#BC13FE
ΔE00 3.83
Electric Purple
#AA23FF
ΔE00 3.85
Darkorchid
#9932CC
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B022E3 #55E322
analogous
#4F22E3 #B022E3 #E322B5
triadic
#B022E3 #E3B022 #22E3B0
tetradic
#B022E3 #E34F22 #55E322 #22B5E3
square
#B022E3 #E34F22 #55E322 #22B5E3
split-complementary
#B022E3 #B5E322 #22E34F
monochromatic
#5F107B #8816B1 #B022E3 #C358EA #D78FF1
Accessibility & contrast
On white
5.02
#B022E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#B022E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B022E3
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B022E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B022E3 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068E8
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#AB5788
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #b022e3; /* rgb */ color: rgb(176, 34, 227); /* oklch */ color: oklch(57.8% 0.266 314.2);
Tailwind
colors: {
custom: {
50: '#cd73ed',
500: '#b022e3',
950: '#000000',
},
}SCSS
$custom: #b022e3; $custom-light: #cd73ed; $custom-dark: #000000;
JSON
{
"hex": "#b022e3",
"rgb": {
"r": 176,
"g": 34,
"b": 227
},
"hsl": {
"h": 284.145,
"s": 77.51,
"l": 51.176
},
"oklch": {
"l": 0.57762,
"c": 0.26648,
"h": 314.2
},
"luminance": 0.1592
}Semantic roles & 50–950 ramp
primary
#B022E3
secondary
#9CDB86
accent
#F43467
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140916
muted
#837B84