#B22AAE#B22AAE

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

Color values

HEX#B22AAE
RGBrgb(178, 42, 174)
HSLhsl(302, 62%, 43%)
HSVhsv(302, 76%, 70%)
CMYKcmyk(0%, 76.4%, 2.2%, 30.2%)
CIE-LABlab(44.49, 67.26, -40.55)
CIE-LCHlch(44.49, 78.54, 328.91°)
OKLaboklab(55.07% 0.1896 -0.1122)
OKLCHoklch(55.07% 0.22 329.4)
XYZxyz(26.8279, 14.1790, 41.3600)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22AAE #2AB22E
analogous
#722AB2 #B22AAE #B22A6A
triadic
#B22AAE #AEB22A #2AAEB2
tetradic
#B22AAE #B2722A #2AB22E #2A6AB2
square
#B22AAE #B2722A #2AB22E #2A6AB2
split-complementary
#B22AAE #6AB22A #2AB272
monochromatic
#4F134D #801E7E #B22AAE #D346CF #DF77DC

Accessibility & contrast

On white

5.48
#B22AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B22AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22AAE
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22AAE#FFFFFF#000000##FFFFFF
##B22AAE1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115EB2
Deuteranopia (green-blind)
#536FAB
Tritanopia (blue-blind)
#B83F6B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b22aae;
/* rgb */ color: rgb(178, 42, 174);
/* oklch */ color: oklch(55.1% 0.220 329.4);
Tailwind
colors: {
  custom: {
    50: '#cd73c7',
    500: '#b22aae',
    950: '#000000',
  },
}
SCSS
$custom: #b22aae;
$custom-light: #cd73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b22aae",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 301.765,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55066,
    "c": 0.22028,
    "h": 329.4
  },
  "luminance": 0.14177
}

Semantic roles & 50–950 ramp

primary
#B22AAE
secondary
#71C774
accent
#E54843
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B22AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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