#B22DA5#B22DA5

#B22DA5 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.211 H 332.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B22DA5
RGBrgb(178, 45, 165)
HSLhsl(306, 60%, 44%)
HSVhsv(306, 75%, 70%)
CMYKcmyk(0%, 74.7%, 7.3%, 30.2%)
CIE-LABlab(44.32, 64.95, -35.48)
CIE-LCHlch(44.32, 74.01, 331.36°)
OKLaboklab(54.79% 0.1868 -0.0975)
OKLCHoklch(54.79% 0.211 332.4)
XYZxyz(26.0901, 14.0605, 36.9299)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22DA5 #2DB23A
analogous
#7C2DB2 #B22DA5 #B22D62
triadic
#B22DA5 #A5B22D #2DA5B2
tetradic
#B22DA5 #B27C2D #2DB23A #2D62B2
square
#B22DA5 #B27C2D #2DB23A #2D62B2
split-complementary
#B22DA5 #62B22D #2DB27C
monochromatic
#50144A #812178 #B22DA5 #D14BC4 #DE7CD4

Accessibility & contrast

On white

5.51
#B22DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B22DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22DA5
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22DA5#FFFFFF#000000##FFFFFF
##B22DA51.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255DA8
Deuteranopia (green-blind)
#596FA2
Tritanopia (blue-blind)
#BA3C67
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b22da5;
/* rgb */ color: rgb(178, 45, 165);
/* oklch */ color: oklch(54.8% 0.211 332.4);
Tailwind
colors: {
  custom: {
    50: '#cd74c0',
    500: '#b22da5',
    950: '#000000',
  },
}
SCSS
$custom: #b22da5;
$custom-light: #cd74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b22da5",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 305.865,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54789,
    "c": 0.21073,
    "h": 332.4
  },
  "luminance": 0.14058
}

Semantic roles & 50–950 ramp

primary
#B22DA5
secondary
#75C67D
accent
#E35445
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B22DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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