#B22E9E#B22E9E

#B22E9E is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.205 H 335.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B22E9E
RGBrgb(178, 46, 158)
HSLhsl(309, 59%, 44%)
HSVhsv(309, 74%, 70%)
CMYKcmyk(0%, 74.2%, 11.2%, 30.2%)
CIE-LABlab(44.07, 63.58, -31.68)
CIE-LCHlch(44.07, 71.03, 333.51°)
OKLaboklab(54.5% 0.1855 -0.0866)
OKLCHoklch(54.5% 0.205 335)
XYZxyz(25.5090, 13.8898, 33.6787)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E9E #2EB242
analogous
#842EB2 #B22E9E #B22E5C
triadic
#B22E9E #9EB22E #2E9EB2
tetradic
#B22E9E #B2842E #2EB242 #2E5CB2
square
#B22E9E #B2842E #2EB242 #2E5CB2
split-complementary
#B22E9E #5CB22E #2EB284
monochromatic
#511548 #812173 #B22E9E #D14CBD #DD7DCF

Accessibility & contrast

On white

5.56
#B22E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B22E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22E9E
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E9E#FFFFFF#000000##FFFFFF
##B22E9E1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA1
Deuteranopia (green-blind)
#5D6F9B
Tritanopia (blue-blind)
#BB3963
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b22e9e;
/* rgb */ color: rgb(178, 46, 158);
/* oklch */ color: oklch(54.5% 0.205 335.0);
Tailwind
colors: {
  custom: {
    50: '#cd74bb',
    500: '#b22e9e',
    950: '#000000',
  },
}
SCSS
$custom: #b22e9e;
$custom-light: #cd74bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e9e",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 309.091,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54497,
    "c": 0.20467,
    "h": 335
  },
  "luminance": 0.13888
}

Semantic roles & 50–950 ramp

primary
#B22E9E
secondary
#76C682
accent
#E25D46
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B22E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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