#B22DB5#B22DB5

#B22DB5 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.7% C 0.223 H 327.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B22DB5
RGBrgb(178, 45, 181)
HSLhsl(299, 60%, 44%)
HSVhsv(299, 75%, 71%)
CMYKcmyk(1.7%, 75.1%, 0%, 29%)
CIE-LABlab(45.19, 67.49, -43.56)
CIE-LCHlch(45.19, 80.33, 327.16°)
OKLaboklab(55.69% 0.1869 -0.121)
OKLCHoklch(55.69% 0.223 327.1)
XYZxyz(27.6385, 14.6799, 45.0849)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22DB5 #30B52D
analogous
#6E2DB5 #B22DB5 #B52D74
triadic
#B22DB5 #B5B22D #2DB5B2
tetradic
#B22DB5 #B56E2D #30B52D #2D74B5
square
#B22DB5 #B56E2D #30B52D #2D74B5
split-complementary
#B22DB5 #74B52D #2DB56E
monochromatic
#521553 #822184 #B22DB5 #D04DD3 #DD7EDF

Accessibility & contrast

On white

5.34
#B22DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B22DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22DB5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22DB5#FFFFFF#000000##FFFFFF
##B22DB51.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0260B9
Deuteranopia (green-blind)
#5071B2
Tritanopia (blue-blind)
#B74470
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b22db5;
/* rgb */ color: rgb(178, 45, 181);
/* oklch */ color: oklch(55.7% 0.223 327.1);
Tailwind
colors: {
  custom: {
    50: '#cd75cc',
    500: '#b22db5',
    950: '#000000',
  },
}
SCSS
$custom: #b22db5;
$custom-light: #cd75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b22db5",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 298.676,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55695,
    "c": 0.22264,
    "h": 327.1
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

primary
#B22DB5
secondary
#78C776
accent
#E34448
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B22DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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