#B020A9#B020A9

#B020A9 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.224 H 330.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B020A9
RGBrgb(176, 32, 169)
HSLhsl(303, 69%, 41%)
HSVhsv(303, 82%, 69%)
CMYKcmyk(0%, 81.8%, 4%, 31%)
CIE-LABlab(42.96, 68.70, -40.04)
CIE-LCHlch(42.96, 79.51, 329.77°)
OKLaboklab(53.82% 0.1951 -0.1107)
OKLCHoklch(53.82% 0.224 330.4)
XYZxyz(25.5824, 13.1298, 38.7154)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B020A9 #20B027
analogous
#6F20B0 #B020A9 #B02061
triadic
#B020A9 #A9B020 #20A9B0
tetradic
#B020A9 #B06F20 #20B027 #2061B0
square
#B020A9 #B06F20 #20B027 #2061B0
split-complementary
#B020A9 #61B020 #20B06F
monochromatic
#480D46 #7C1777 #B020A9 #DA33D2 #E367DD

Accessibility & contrast

On white

5.79
#B020A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B020A9
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B020A9#FFFFFF#000000##FFFFFF
##B020A91.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#516CA6
Tritanopia (blue-blind)
#B73766
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b020a9;
/* rgb */ color: rgb(176, 32, 169);
/* oklch */ color: oklch(53.8% 0.224 330.4);
Tailwind
colors: {
  custom: {
    50: '#cc6fc3',
    500: '#b020a9',
    950: '#000000',
  },
}
SCSS
$custom: #b020a9;
$custom-light: #cc6fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b020a9",
  "rgb": {
    "r": 176,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 302.917,
    "s": 69.231,
    "l": 40.784
  },
  "oklch": {
    "l": 0.53821,
    "c": 0.22434,
    "h": 330.4
  },
  "luminance": 0.13128
}

Semantic roles & 50–950 ramp

primary
#B020A9
secondary
#63C968
accent
#EC443C
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B020A9

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

Preview Lab → · Contrast checker → · Palette generator →

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