#B22AAD#B22AAD

#B22AAD is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.0% C 0.220 H 329.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B22AAD
RGBrgb(178, 42, 173)
HSLhsl(302, 62%, 43%)
HSVhsv(302, 76%, 70%)
CMYKcmyk(0%, 76.4%, 2.8%, 30.2%)
CIE-LABlab(44.43, 67.10, -40.05)
CIE-LCHlch(44.43, 78.14, 329.17°)
OKLaboklab(55.01% 0.1896 -0.1107)
OKLCHoklch(55.01% 0.22 329.7)
XYZxyz(26.7307, 14.1401, 40.8485)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22AAD #2AB22F
analogous
#732AB2 #B22AAD #B22A69
triadic
#B22AAD #ADB22A #2AADB2
tetradic
#B22AAD #B2732A #2AB22F #2A69B2
square
#B22AAD #B2732A #2AB22F #2A69B2
split-complementary
#B22AAD #69B22A #2AB273
monochromatic
#4F134D #801E7D #B22AAD #D346CE #DF77DB

Accessibility & contrast

On white

5.49
#B22AAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B22AAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22AAD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22AAD#FFFFFF#000000##FFFFFF
##B22AAD1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135DB0
Deuteranopia (green-blind)
#546FAA
Tritanopia (blue-blind)
#B93E6A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b22aad;
/* rgb */ color: rgb(178, 42, 173);
/* oklch */ color: oklch(55.0% 0.220 329.7);
Tailwind
colors: {
  custom: {
    50: '#cd73c6',
    500: '#b22aad',
    950: '#000000',
  },
}
SCSS
$custom: #b22aad;
$custom-light: #cd73c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b22aad",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 173
  },
  "hsl": {
    "h": 302.206,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55009,
    "c": 0.21955,
    "h": 329.7
  },
  "luminance": 0.14138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B22AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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