#B22DA6#B22DA6

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

Color values

HEX#B22DA6
RGBrgb(178, 45, 166)
HSLhsl(305, 60%, 44%)
HSVhsv(305, 75%, 70%)
CMYKcmyk(0%, 74.7%, 6.7%, 30.2%)
CIE-LABlab(44.37, 65.10, -35.99)
CIE-LCHlch(44.37, 74.39, 331.07°)
OKLaboklab(54.84% 0.1868 -0.099)
OKLCHoklch(54.84% 0.211 332.1)
XYZxyz(26.1815, 14.0971, 37.4111)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22DA6 #2DB239
analogous
#7B2DB2 #B22DA6 #B22D63
triadic
#B22DA6 #A6B22D #2DA6B2
tetradic
#B22DA6 #B27B2D #2DB239 #2D63B2
square
#B22DA6 #B27B2D #2DB239 #2D63B2
split-complementary
#B22DA6 #63B22D #2DB27B
monochromatic
#50144B #812178 #B22DA6 #D14BC5 #DE7CD5

Accessibility & contrast

On white

5.50
#B22DA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B22DA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22DA6
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22DA6#FFFFFF#000000##FFFFFF
##B22DA61.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245DA9
Deuteranopia (green-blind)
#596FA3
Tritanopia (blue-blind)
#BA3C67
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b22da6;
/* rgb */ color: rgb(178, 45, 166);
/* oklch */ color: oklch(54.8% 0.211 332.1);
Tailwind
colors: {
  custom: {
    50: '#cd74c1',
    500: '#b22da6',
    950: '#000000',
  },
}
SCSS
$custom: #b22da6;
$custom-light: #cd74c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b22da6",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 305.414,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54843,
    "c": 0.21146,
    "h": 332.1
  },
  "luminance": 0.14095
}

Semantic roles & 50–950 ramp

primary
#B22DA6
secondary
#75C67C
accent
#E35345
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B22DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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