#B022AB#B022AB

#B022AB is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.1% C 0.224 H 329.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B022AB
RGBrgb(176, 34, 171)
HSLhsl(302, 68%, 41%)
HSVhsv(302, 81%, 69%)
CMYKcmyk(0%, 80.7%, 2.8%, 31%)
CIE-LABlab(43.24, 68.52, -40.79)
CIE-LCHlch(43.24, 79.74, 329.24°)
OKLaboklab(54.06% 0.1937 -0.1129)
OKLCHoklch(54.06% 0.224 329.8)
XYZxyz(25.8271, 13.3165, 39.7303)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B022AB #22B027
analogous
#6E22B0 #B022AB #B02264
triadic
#B022AB #ABB022 #22ABB0
tetradic
#B022AB #B06E22 #22B027 #2264B0
square
#B022AB #B06E22 #22B027 #2264B0
split-complementary
#B022AB #64B022 #22B06E
monochromatic
#490E47 #7D1879 #B022AB #D837D3 #E26ADE

Accessibility & contrast

On white

5.73
#B022AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B022AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B022AB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B022AB#FFFFFF#000000##FFFFFF
##B022AB1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#506DA8
Tritanopia (blue-blind)
#B73967
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b022ab;
/* rgb */ color: rgb(176, 34, 171);
/* oklch */ color: oklch(54.1% 0.224 329.8);
Tailwind
colors: {
  custom: {
    50: '#cc70c4',
    500: '#b022ab',
    950: '#000000',
  },
}
SCSS
$custom: #b022ab;
$custom-light: #cc70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b022ab",
  "rgb": {
    "r": 176,
    "g": 34,
    "b": 171
  },
  "hsl": {
    "h": 302.113,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.54055,
    "c": 0.22419,
    "h": 329.8
  },
  "luminance": 0.13314
}

Semantic roles & 50–950 ramp

primary
#B022AB
secondary
#66C869
accent
#EA433D
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B022AB

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

Preview Lab → · Contrast checker → · Palette generator →

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