#B22DB4#B22DB4

#B22DB4 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.222 H 327.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B22DB4
RGBrgb(178, 45, 180)
HSLhsl(299, 60%, 44%)
HSVhsv(299, 75%, 71%)
CMYKcmyk(1.1%, 75%, 0%, 29.4%)
CIE-LABlab(45.14, 67.33, -43.07)
CIE-LCHlch(45.14, 79.93, 327.40°)
OKLaboklab(55.64% 0.187 -0.1195)
OKLCHoklch(55.64% 0.222 327.4)
XYZxyz(27.5363, 14.6390, 44.5464)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22DB4 #2FB42D
analogous
#6F2DB4 #B22DB4 #B42D73
triadic
#B22DB4 #B4B22D #2DB4B2
tetradic
#B22DB4 #B46F2D #2FB42D #2D73B4
square
#B22DB4 #B46F2D #2FB42D #2D73B4
split-complementary
#B22DB4 #73B42D #2DB46F
monochromatic
#511552 #822183 #B22DB4 #D04CD2 #DD7DDE

Accessibility & contrast

On white

5.35
#B22DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B22DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22DB4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22DB4#FFFFFF#000000##FFFFFF
##B22DB41.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0660B8
Deuteranopia (green-blind)
#5171B1
Tritanopia (blue-blind)
#B7436F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b22db4;
/* rgb */ color: rgb(178, 45, 180);
/* oklch */ color: oklch(55.6% 0.222 327.4);
Tailwind
colors: {
  custom: {
    50: '#cd75cb',
    500: '#b22db4',
    950: '#000000',
  },
}
SCSS
$custom: #b22db4;
$custom-light: #cd75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b22db4",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 299.111,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55636,
    "c": 0.22189,
    "h": 327.4
  },
  "luminance": 0.14637
}

Semantic roles & 50–950 ramp

primary
#B22DB4
secondary
#77C776
accent
#E34547
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B22DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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