#B22EAB#B22EAB

#B22EAB is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.214 H 330.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B22EAB
RGBrgb(178, 46, 171)
HSLhsl(303, 59%, 44%)
HSVhsv(303, 74%, 70%)
CMYKcmyk(0%, 74.2%, 3.9%, 30.2%)
CIE-LABlab(44.75, 65.57, -38.37)
CIE-LCHlch(44.75, 75.97, 329.67°)
OKLaboklab(55.2% 0.1861 -0.1059)
OKLCHoklch(55.2% 0.214 330.4)
XYZxyz(26.6877, 14.3613, 39.8866)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22EAB #2EB235
analogous
#772EB2 #B22EAB #B22E69
triadic
#B22EAB #ABB22E #2EABB2
tetradic
#B22EAB #B2772E #2EB235 #2E69B2
square
#B22EAB #B2772E #2EB235 #2E69B2
split-complementary
#B22EAB #69B22E #2EB277
monochromatic
#51154E #81217C #B22EAB #D14CCA #DD7DD8

Accessibility & contrast

On white

5.42
#B22EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B22EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22EAB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22EAB#FFFFFF#000000##FFFFFF
##B22EAB1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5EAE
Deuteranopia (green-blind)
#5770A8
Tritanopia (blue-blind)
#B9406A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b22eab;
/* rgb */ color: rgb(178, 46, 171);
/* oklch */ color: oklch(55.2% 0.214 330.4);
Tailwind
colors: {
  custom: {
    50: '#cd75c4',
    500: '#b22eab',
    950: '#000000',
  },
}
SCSS
$custom: #b22eab;
$custom-light: #cd75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b22eab",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 303.182,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55198,
    "c": 0.2141,
    "h": 330.4
  },
  "luminance": 0.14359
}

Semantic roles & 50–950 ramp

primary
#B22EAB
secondary
#76C67A
accent
#E24E46
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B22EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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