#B22EA0#B22EA0

#B22EA0 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.6% C 0.206 H 334.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B22EA0
RGBrgb(178, 46, 160)
HSLhsl(308, 59%, 44%)
HSVhsv(308, 74%, 70%)
CMYKcmyk(0%, 74.2%, 10.1%, 30.2%)
CIE-LABlab(44.17, 63.88, -32.72)
CIE-LCHlch(44.17, 71.77, 332.88°)
OKLaboklab(54.6% 0.1856 -0.0896)
OKLCHoklch(54.6% 0.206 334.2)
XYZxyz(25.6825, 13.9593, 34.5927)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22EA0 #2EB240
analogous
#822EB2 #B22EA0 #B22E5E
triadic
#B22EA0 #A0B22E #2EA0B2
tetradic
#B22EA0 #B2822E #2EB240 #2E5EB2
square
#B22EA0 #B2822E #2EB240 #2E5EB2
split-complementary
#B22EA0 #5EB22E #2EB282
monochromatic
#511549 #812174 #B22EA0 #D14CBF #DD7DD0

Accessibility & contrast

On white

5.54
#B22EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B22EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22EA0
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22EA0#FFFFFF#000000##FFFFFF
##B22EA01.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5CA3
Deuteranopia (green-blind)
#5C6F9D
Tritanopia (blue-blind)
#BB3A64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b22ea0;
/* rgb */ color: rgb(178, 46, 160);
/* oklch */ color: oklch(54.6% 0.206 334.2);
Tailwind
colors: {
  custom: {
    50: '#cd74bc',
    500: '#b22ea0',
    950: '#000000',
  },
}
SCSS
$custom: #b22ea0;
$custom-light: #cd74bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b22ea0",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 308.182,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54601,
    "c": 0.20609,
    "h": 334.2
  },
  "luminance": 0.13957
}

Semantic roles & 50–950 ramp

primary
#B22EA0
secondary
#76C681
accent
#E25B46
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B22EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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