#B022AC#B022AC

#B022AC is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.225 H 329.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B022AC
RGBrgb(176, 34, 172)
HSLhsl(302, 68%, 41%)
HSVhsv(302, 81%, 69%)
CMYKcmyk(0%, 80.7%, 2.3%, 31%)
CIE-LABlab(43.29, 68.68, -41.29)
CIE-LCHlch(43.29, 80.14, 328.99°)
OKLaboklab(54.11% 0.1937 -0.1143)
OKLCHoklch(54.11% 0.225 329.4)
XYZxyz(25.9227, 13.3548, 40.2341)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B022AC #22B026
analogous
#6D22B0 #B022AC #B02265
triadic
#B022AC #ACB022 #22ACB0
tetradic
#B022AC #B06D22 #22B026 #2265B0
square
#B022AC #B06D22 #22B026 #2265B0
split-complementary
#B022AC #65B022 #22B06D
monochromatic
#490E48 #7D187A #B022AC #D837D4 #E26ADF

Accessibility & contrast

On white

5.72
#B022AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B022AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B022AC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B022AC#FFFFFF#000000##FFFFFF
##B022AC1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#4F6DA9
Tritanopia (blue-blind)
#B63A68
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b022ac;
/* rgb */ color: rgb(176, 34, 172);
/* oklch */ color: oklch(54.1% 0.225 329.4);
Tailwind
colors: {
  custom: {
    50: '#cc70c5',
    500: '#b022ac',
    950: '#000000',
  },
}
SCSS
$custom: #b022ac;
$custom-light: #cc70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b022ac",
  "rgb": {
    "r": 176,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 301.69,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.22491,
    "h": 329.4
  },
  "luminance": 0.13353
}

Semantic roles & 50–950 ramp

primary
#B022AC
secondary
#66C868
accent
#EA423D
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B022AC

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

Preview Lab → · Contrast checker → · Palette generator →

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