#B22CAC#B22CAC

#B22CAC is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.1% C 0.217 H 330.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B22CAC
RGBrgb(178, 44, 172)
HSLhsl(303, 60%, 44%)
HSVhsv(303, 75%, 70%)
CMYKcmyk(0%, 75.3%, 3.4%, 30.2%)
CIE-LABlab(44.59, 66.35, -39.22)
CIE-LCHlch(44.59, 77.07, 329.41°)
OKLaboklab(55.1% 0.1879 -0.1083)
OKLCHoklch(55.1% 0.217 330)
XYZxyz(26.7070, 14.2470, 40.3650)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22CAC #2CB232
analogous
#752CB2 #B22CAC #B22C69
triadic
#B22CAC #ACB22C #2CACB2
tetradic
#B22CAC #B2752C #2CB232 #2C69B2
square
#B22CAC #B2752C #2CB232 #2C69B2
split-complementary
#B22CAC #69B22C #2CB275
monochromatic
#50144D #81207D #B22CAC #D249CC #DE7ADA

Accessibility & contrast

On white

5.46
#B22CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B22CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22CAC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22CAC#FFFFFF#000000##FFFFFF
##B22CAC1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195EAF
Deuteranopia (green-blind)
#5570A9
Tritanopia (blue-blind)
#B93F6A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b22cac;
/* rgb */ color: rgb(178, 44, 172);
/* oklch */ color: oklch(55.1% 0.217 330.0);
Tailwind
colors: {
  custom: {
    50: '#cd74c5',
    500: '#b22cac',
    950: '#000000',
  },
}
SCSS
$custom: #b22cac;
$custom-light: #cd74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b22cac",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 302.687,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.551,
    "c": 0.21687,
    "h": 330
  },
  "luminance": 0.14245
}

Semantic roles & 50–950 ramp

primary
#B22CAC
secondary
#73C677
accent
#E44B44
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B22CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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