#B22AC5#B22AC5

#B22AC5 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.5% C 0.238 H 322.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B22AC5
RGBrgb(178, 42, 197)
HSLhsl(293, 65%, 47%)
HSVhsv(293, 79%, 77%)
CMYKcmyk(9.6%, 78.7%, 0%, 22.7%)
CIE-LABlab(45.84, 71.06, -51.87)
CIE-LCHlch(45.84, 87.98, 323.87°)
OKLaboklab(56.46% 0.1883 -0.1452)
OKLCHoklch(56.46% 0.238 322.4)
XYZxyz(29.2651, 15.1539, 54.1960)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22AC5 #3DC52A
analogous
#652AC5 #B22AC5 #C52A8B
triadic
#B22AC5 #C5B22A #2AC5B2
tetradic
#B22AC5 #C5652A #3DC52A #2A8BC5
square
#B22AC5 #C5652A #3DC52A #2A8BC5
split-complementary
#B22AC5 #8BC52A #2AC565
monochromatic
#571460 #841F93 #B22AC5 #C952DA #D985E5

Accessibility & contrast

On white

5.21
#B22AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B22AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22AC5
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22AC5#FFFFFF#000000##FFFFFF
##B22AC51.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#4372C2
Tritanopia (blue-blind)
#B44A78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b22ac5;
/* rgb */ color: rgb(178, 42, 197);
/* oklch */ color: oklch(56.5% 0.238 322.4);
Tailwind
colors: {
  custom: {
    50: '#cd74d7',
    500: '#b22ac5',
    950: '#000000',
  },
}
SCSS
$custom: #b22ac5;
$custom-light: #cd74d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b22ac5",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 197
  },
  "hsl": {
    "h": 292.645,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56464,
    "c": 0.23775,
    "h": 322.4
  },
  "luminance": 0.15152
}

Semantic roles & 50–950 ramp

primary
#B22AC5
secondary
#87CE7D
accent
#E84055
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140914
muted
#837B83

Preview Lab

Preview with #B22AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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