#B020AA#B020AA

#B020AA is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.225 H 330.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B020AA
RGBrgb(176, 32, 170)
HSLhsl(303, 69%, 41%)
HSVhsv(303, 82%, 69%)
CMYKcmyk(0%, 81.8%, 3.4%, 31%)
CIE-LABlab(43.01, 68.85, -40.54)
CIE-LCHlch(43.01, 79.90, 329.51°)
OKLaboklab(53.88% 0.1951 -0.1121)
OKLCHoklch(53.88% 0.225 330.1)
XYZxyz(25.6766, 13.1675, 39.2117)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B020AA #20B026
analogous
#6E20B0 #B020AA #B02062
triadic
#B020AA #AAB020 #20AAB0
tetradic
#B020AA #B06E20 #20B026 #2062B0
square
#B020AA #B06E20 #20B026 #2062B0
split-complementary
#B020AA #62B020 #20B06E
monochromatic
#480D46 #7C1778 #B020AA #DA33D3 #E367DE

Accessibility & contrast

On white

5.78
#B020AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B020AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B020AA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B020AA#FFFFFF#000000##FFFFFF
##B020AA1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#506CA7
Tritanopia (blue-blind)
#B73766
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b020aa;
/* rgb */ color: rgb(176, 32, 170);
/* oklch */ color: oklch(53.9% 0.225 330.1);
Tailwind
colors: {
  custom: {
    50: '#cc6fc4',
    500: '#b020aa',
    950: '#000000',
  },
}
SCSS
$custom: #b020aa;
$custom-light: #cc6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#b020aa",
  "rgb": {
    "r": 176,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 302.5,
    "s": 69.231,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5388,
    "c": 0.22505,
    "h": 330.1
  },
  "luminance": 0.13165
}

Semantic roles & 50–950 ramp

primary
#B020AA
secondary
#63C967
accent
#EC433C
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B020AA

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

Preview Lab → · Contrast checker → · Palette generator →

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