#B022AA#B022AA

#B022AA is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.223 H 330.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B022AA
RGBrgb(176, 34, 170)
HSLhsl(303, 68%, 41%)
HSVhsv(303, 81%, 69%)
CMYKcmyk(0%, 80.7%, 3.4%, 31%)
CIE-LABlab(43.18, 68.37, -40.28)
CIE-LCHlch(43.18, 79.35, 329.50°)
OKLaboklab(54% 0.1937 -0.1114)
OKLCHoklch(54% 0.223 330.1)
XYZxyz(25.7321, 13.2785, 39.2302)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B022AA #22B028
analogous
#6F22B0 #B022AA #B02263
triadic
#B022AA #AAB022 #22AAB0
tetradic
#B022AA #B06F22 #22B028 #2263B0
square
#B022AA #B06F22 #22B028 #2263B0
split-complementary
#B022AA #63B022 #22B06F
monochromatic
#490E47 #7D1878 #B022AA #D837D2 #E26ADD

Accessibility & contrast

On white

5.75
#B022AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B022AA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B022AA#FFFFFF#000000##FFFFFF
##B022AA1.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025AAD
Deuteranopia (green-blind)
#516CA7
Tritanopia (blue-blind)
#B73867
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b022aa;
/* rgb */ color: rgb(176, 34, 170);
/* oklch */ color: oklch(54.0% 0.223 330.1);
Tailwind
colors: {
  custom: {
    50: '#cc70c4',
    500: '#b022aa',
    950: '#000000',
  },
}
SCSS
$custom: #b022aa;
$custom-light: #cc70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b022aa",
  "rgb": {
    "r": 176,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 302.535,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53997,
    "c": 0.22348,
    "h": 330.1
  },
  "luminance": 0.13276
}

Semantic roles & 50–950 ramp

primary
#B022AA
secondary
#66C86A
accent
#EA453D
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B022AA

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

Preview Lab → · Contrast checker → · Palette generator →

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