#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
RGBrgb(176, 34, 227)
HSLhsl(284, 78%, 51%)
HSVhsv(284, 85%, 89%)
CMYKcmyk(22.5%, 85%, 0%, 11%)
CIE-LABlab(46.87, 78.06, -67.46)
CIE-LCHlch(46.87, 103.18, 319.17°)
OKLaboklab(57.76% 0.1859 -0.191)
OKLCHoklch(57.76% 0.266 314.2)
XYZxyz(32.3393, 15.9214, 74.0278)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

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
##B022E31.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.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

Preview Lab

Preview with #B022E3

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B022E3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva