#B22B9D#B22B9D

#B22B9D is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.207 H 335.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B22B9D
RGBrgb(178, 43, 157)
HSLhsl(309, 61%, 43%)
HSVhsv(309, 76%, 70%)
CMYKcmyk(0%, 75.8%, 11.8%, 30.2%)
CIE-LABlab(43.70, 64.37, -31.67)
CIE-LCHlch(43.70, 71.74, 333.80°)
OKLaboklab(54.21% 0.1881 -0.0866)
OKLCHoklch(54.21% 0.207 335.3)
XYZxyz(25.3101, 13.6293, 33.1895)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B9D #2BB240
analogous
#832BB2 #B22B9D #B22B5A
triadic
#B22B9D #9DB22B #2B9DB2
tetradic
#B22B9D #B2832B #2BB240 #2B5AB2
square
#B22B9D #B2832B #2BB240 #2B5AB2
split-complementary
#B22B9D #5AB22B #2BB283
monochromatic
#4F1346 #811F72 #B22B9D #D348BD #DF79CF

Accessibility & contrast

On white

5.64
#B22B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B22B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22B9D
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22B9D#FFFFFF#000000##FFFFFF
##B22B9D1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5AA0
Deuteranopia (green-blind)
#5C6E9A
Tritanopia (blue-blind)
#BB3662
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b22b9d;
/* rgb */ color: rgb(178, 43, 157);
/* oklch */ color: oklch(54.2% 0.207 335.3);
Tailwind
colors: {
  custom: {
    50: '#cd73ba',
    500: '#b22b9d',
    950: '#000000',
  },
}
SCSS
$custom: #b22b9d;
$custom-light: #cd73ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b9d",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 309.333,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54209,
    "c": 0.2071,
    "h": 335.3
  },
  "luminance": 0.13627
}

Semantic roles & 50–950 ramp

primary
#B22B9D
secondary
#72C77F
accent
#E45D44
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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