#B22DC9#B22DC9

#B22DC9 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.9% C 0.238 H 321.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B22DC9
RGBrgb(178, 45, 201)
HSLhsl(291, 63%, 48%)
HSVhsv(291, 78%, 79%)
CMYKcmyk(11.4%, 77.6%, 0%, 21.2%)
CIE-LABlab(46.39, 70.89, -53.31)
CIE-LCHlch(46.39, 88.70, 323.06°)
OKLaboklab(56.93% 0.1855 -0.1494)
OKLCHoklch(56.93% 0.238 321.1)
XYZxyz(29.8399, 15.5605, 56.6787)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22DC9 #44C92D
analogous
#642DC9 #B22DC9 #C92D92
triadic
#B22DC9 #C9B22D #2DC9B2
tetradic
#B22DC9 #C9642D #44C92D #2D92C9
square
#B22DC9 #C9642D #44C92D #2D92C9
split-complementary
#B22DC9 #92C92D #2DC964
monochromatic
#591765 #862297 #B22DC9 #C759DA #D88BE5

Accessibility & contrast

On white

5.11
#B22DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B22DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22DC9
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22DC9#FFFFFF#000000##FFFFFF
##B22DC91.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#4173C6
Tritanopia (blue-blind)
#B34E7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b22dc9;
/* rgb */ color: rgb(178, 45, 201);
/* oklch */ color: oklch(56.9% 0.238 321.1);
Tailwind
colors: {
  custom: {
    50: '#cd76da',
    500: '#b22dc9',
    950: '#000000',
  },
}
SCSS
$custom: #b22dc9;
$custom-light: #cd76da;
$custom-dark: #000000;
JSON
{
  "hex": "#b22dc9",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 291.154,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56931,
    "c": 0.23822,
    "h": 321.1
  },
  "luminance": 0.15559
}

Semantic roles & 50–950 ramp

primary
#B22DC9
secondary
#8ECF83
accent
#E6415A
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B22DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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