#B22DB3#B22DB3

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

Color values

HEX#B22DB3
RGBrgb(178, 45, 179)
HSLhsl(300, 60%, 44%)
HSVhsv(300, 75%, 70%)
CMYKcmyk(0.6%, 74.9%, 0%, 29.8%)
CIE-LABlab(45.08, 67.17, -42.57)
CIE-LCHlch(45.08, 79.52, 327.63°)
OKLaboklab(55.58% 0.187 -0.1181)
OKLCHoklch(55.58% 0.221 327.7)
XYZxyz(27.4348, 14.5984, 44.0119)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22DB3 #2EB32D
analogous
#6F2DB3 #B22DB3 #B32D71
triadic
#B22DB3 #B3B22D #2DB3B2
tetradic
#B22DB3 #B36F2D #2EB32D #2D71B3
square
#B22DB3 #B36F2D #2EB32D #2D71B3
split-complementary
#B22DB3 #71B32D #2DB36F
monochromatic
#511451 #812182 #B22DB3 #D14BD2 #DD7CDE

Accessibility & contrast

On white

5.36
#B22DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B22DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22DB3
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22DB3#FFFFFF#000000##FFFFFF
##B22DB31.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A60B7
Deuteranopia (green-blind)
#5271B0
Tritanopia (blue-blind)
#B7436E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b22db3;
/* rgb */ color: rgb(178, 45, 179);
/* oklch */ color: oklch(55.6% 0.221 327.7);
Tailwind
colors: {
  custom: {
    50: '#cd75ca',
    500: '#b22db3',
    950: '#000000',
  },
}
SCSS
$custom: #b22db3;
$custom-light: #cd75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b22db3",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 299.552,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55578,
    "c": 0.22112,
    "h": 327.7
  },
  "luminance": 0.14596
}

Semantic roles & 50–950 ramp

primary
#B22DB3
secondary
#76C775
accent
#E34546
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B22DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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