#B22DA1#B22DA1

#B22DA1 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.208 H 333.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B22DA1
RGBrgb(178, 45, 161)
HSLhsl(308, 60%, 44%)
HSVhsv(308, 75%, 70%)
CMYKcmyk(0%, 74.7%, 9.6%, 30.2%)
CIE-LABlab(44.11, 64.34, -33.41)
CIE-LCHlch(44.11, 72.50, 332.56°)
OKLaboklab(54.57% 0.1866 -0.0916)
OKLCHoklch(54.57% 0.208 333.9)
XYZxyz(25.7317, 13.9172, 35.0424)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22DA1 #2DB23E
analogous
#802DB2 #B22DA1 #B22D5E
triadic
#B22DA1 #A1B22D #2DA1B2
tetradic
#B22DA1 #B2802D #2DB23E #2D5EB2
square
#B22DA1 #B2802D #2DB23E #2D5EB2
split-complementary
#B22DA1 #5EB22D #2DB280
monochromatic
#501449 #812175 #B22DA1 #D14BC0 #DE7CD1

Accessibility & contrast

On white

5.55
#B22DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22DA1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22DA1#FFFFFF#000000##FFFFFF
##B22DA11.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA4
Deuteranopia (green-blind)
#5B6F9E
Tritanopia (blue-blind)
#BA3A64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b22da1;
/* rgb */ color: rgb(178, 45, 161);
/* oklch */ color: oklch(54.6% 0.208 333.9);
Tailwind
colors: {
  custom: {
    50: '#cd74bd',
    500: '#b22da1',
    950: '#000000',
  },
}
SCSS
$custom: #b22da1;
$custom-light: #cd74bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b22da1",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 307.669,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54574,
    "c": 0.20785,
    "h": 333.9
  },
  "luminance": 0.13915
}

Semantic roles & 50–950 ramp

primary
#B22DA1
secondary
#75C67F
accent
#E35945
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B22DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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