#B22DAF#B22DAF

#B22DAF is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.218 H 329.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B22DAF
RGBrgb(178, 45, 175)
HSLhsl(301, 60%, 44%)
HSVhsv(301, 75%, 70%)
CMYKcmyk(0%, 74.7%, 1.7%, 30.2%)
CIE-LABlab(44.86, 66.52, -40.56)
CIE-LCHlch(44.86, 77.91, 328.63°)
OKLaboklab(55.35% 0.187 -0.1122)
OKLCHoklch(55.35% 0.218 329)
XYZxyz(27.0361, 14.4389, 41.9122)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22DAF #2DB230
analogous
#722DB2 #B22DAF #B22D6C
triadic
#B22DAF #AFB22D #2DAFB2
tetradic
#B22DAF #B2722D #2DB230 #2D6CB2
square
#B22DAF #B2722D #2DB230 #2D6CB2
split-complementary
#B22DAF #6CB22D #2DB272
monochromatic
#50144F #81217F #B22DAF #D14BCE #DE7CDC

Accessibility & contrast

On white

5.40
#B22DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B22DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22DAF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22DAF#FFFFFF#000000##FFFFFF
##B22DAF1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155FB3
Deuteranopia (green-blind)
#5470AC
Tritanopia (blue-blind)
#B8416C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b22daf;
/* rgb */ color: rgb(178, 45, 175);
/* oklch */ color: oklch(55.3% 0.218 329.0);
Tailwind
colors: {
  custom: {
    50: '#cd74c7',
    500: '#b22daf',
    950: '#000000',
  },
}
SCSS
$custom: #b22daf;
$custom-light: #cd74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b22daf",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 301.353,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55346,
    "c": 0.21811,
    "h": 329
  },
  "luminance": 0.14437
}

Semantic roles & 50–950 ramp

primary
#B22DAF
secondary
#75C676
accent
#E34945
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B22DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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