#B020AB#B020AB

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

Color values

HEX#B020AB
RGBrgb(176, 32, 171)
HSLhsl(302, 69%, 41%)
HSVhsv(302, 82%, 69%)
CMYKcmyk(0%, 81.8%, 2.8%, 31%)
CIE-LABlab(43.07, 69.00, -41.05)
CIE-LCHlch(43.07, 80.29, 329.25°)
OKLaboklab(53.94% 0.1951 -0.1136)
OKLCHoklch(53.94% 0.226 329.8)
XYZxyz(25.7716, 13.2055, 39.7118)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B020AB #20B025
analogous
#6D20B0 #B020AB #B02063
triadic
#B020AB #ABB020 #20ABB0
tetradic
#B020AB #B06D20 #20B025 #2063B0
square
#B020AB #B06D20 #20B025 #2063B0
split-complementary
#B020AB #63B020 #20B06D
monochromatic
#480D46 #7C1779 #B020AB #DA33D4 #E367DF

Accessibility & contrast

On white

5.77
#B020AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B020AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B020AB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B020AB#FFFFFF#000000##FFFFFF
##B020AB1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#4F6CA8
Tritanopia (blue-blind)
#B73867
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b020ab;
/* rgb */ color: rgb(176, 32, 171);
/* oklch */ color: oklch(53.9% 0.226 329.8);
Tailwind
colors: {
  custom: {
    50: '#cc6fc4',
    500: '#b020ab',
    950: '#000000',
  },
}
SCSS
$custom: #b020ab;
$custom-light: #cc6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#b020ab",
  "rgb": {
    "r": 176,
    "g": 32,
    "b": 171
  },
  "hsl": {
    "h": 302.083,
    "s": 69.231,
    "l": 40.784
  },
  "oklch": {
    "l": 0.53938,
    "c": 0.22576,
    "h": 329.8
  },
  "luminance": 0.13203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B020AB

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

Preview Lab → · Contrast checker → · Palette generator →

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