#B22B9E#B22B9E

#B22B9E is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.208 H 334.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B22B9E
RGBrgb(178, 43, 158)
HSLhsl(309, 61%, 43%)
HSVhsv(309, 76%, 70%)
CMYKcmyk(0%, 75.8%, 11.2%, 30.2%)
CIE-LABlab(43.75, 64.51, -32.20)
CIE-LCHlch(43.75, 72.10, 333.48°)
OKLaboklab(54.26% 0.1882 -0.088)
OKLCHoklch(54.26% 0.208 334.9)
XYZxyz(25.3958, 13.6636, 33.6410)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B9E #2BB23F
analogous
#822BB2 #B22B9E #B22B5A
triadic
#B22B9E #9EB22B #2B9EB2
tetradic
#B22B9E #B2822B #2BB23F #2B5AB2
square
#B22B9E #B2822B #2BB23F #2B5AB2
split-complementary
#B22B9E #5AB22B #2BB282
monochromatic
#4F1346 #811F72 #B22B9E #D348BE #DF79D0

Accessibility & contrast

On white

5.63
#B22B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22B9E
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22B9E#FFFFFF#000000##FFFFFF
##B22B9E1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5BA1
Deuteranopia (green-blind)
#5C6E9B
Tritanopia (blue-blind)
#BB3762
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b22b9e;
/* rgb */ color: rgb(178, 43, 158);
/* oklch */ color: oklch(54.3% 0.208 334.9);
Tailwind
colors: {
  custom: {
    50: '#cd73bb',
    500: '#b22b9e',
    950: '#000000',
  },
}
SCSS
$custom: #b22b9e;
$custom-light: #cd73bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b9e",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 308.889,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54261,
    "c": 0.20779,
    "h": 334.9
  },
  "luminance": 0.13661
}

Semantic roles & 50–950 ramp

primary
#B22B9E
secondary
#72C77F
accent
#E45B44
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B22B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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