#B22DA3#B22DA3

#B22DA3 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.7% C 0.209 H 333.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B22DA3
RGBrgb(178, 45, 163)
HSLhsl(307, 60%, 44%)
HSVhsv(307, 75%, 70%)
CMYKcmyk(0%, 74.7%, 8.4%, 30.2%)
CIE-LABlab(44.22, 64.65, -34.45)
CIE-LCHlch(44.22, 73.25, 331.95°)
OKLaboklab(54.68% 0.1867 -0.0945)
OKLCHoklch(54.68% 0.209 333.1)
XYZxyz(25.9095, 13.9883, 35.9787)
Luminance0.1399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22DA3 #2DB23C
analogous
#7E2DB2 #B22DA3 #B22D60
triadic
#B22DA3 #A3B22D #2DA3B2
tetradic
#B22DA3 #B27E2D #2DB23C #2D60B2
square
#B22DA3 #B27E2D #2DB23C #2D60B2
split-complementary
#B22DA3 #60B22D #2DB27E
monochromatic
#50144A #812176 #B22DA3 #D14BC2 #DE7CD3

Accessibility & contrast

On white

5.53
#B22DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B22DA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22DA3
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22DA3#FFFFFF#000000##FFFFFF
##B22DA31.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275CA6
Deuteranopia (green-blind)
#5A6FA0
Tritanopia (blue-blind)
#BA3B66
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b22da3;
/* rgb */ color: rgb(178, 45, 163);
/* oklch */ color: oklch(54.7% 0.209 333.1);
Tailwind
colors: {
  custom: {
    50: '#cd74be',
    500: '#b22da3',
    950: '#000000',
  },
}
SCSS
$custom: #b22da3;
$custom-light: #cd74be;
$custom-dark: #000000;
JSON
{
  "hex": "#b22da3",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 306.767,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54681,
    "c": 0.20929,
    "h": 333.1
  },
  "luminance": 0.13986
}

Semantic roles & 50–950 ramp

primary
#B22DA3
secondary
#75C67E
accent
#E35745
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B22DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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