#B021AD#B021AD

#B021AD is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.1% C 0.226 H 329.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B021AD
RGBrgb(176, 33, 173)
HSLhsl(301, 68%, 41%)
HSVhsv(301, 81%, 69%)
CMYKcmyk(0%, 81.3%, 1.7%, 31%)
CIE-LABlab(43.27, 69.08, -41.92)
CIE-LCHlch(43.27, 80.80, 328.75°)
OKLaboklab(54.11% 0.1943 -0.1162)
OKLCHoklch(54.11% 0.226 329.1)
XYZxyz(25.9910, 13.3370, 40.7325)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B021AD #21B024
analogous
#6B21B0 #B021AD #B02165
triadic
#B021AD #ADB021 #21ADB0
tetradic
#B021AD #B06B21 #21B024 #2165B0
square
#B021AD #B06B21 #21B024 #2165B0
split-complementary
#B021AD #65B021 #21B06B
monochromatic
#490E48 #7C177A #B021AD #D935D6 #E369E0

Accessibility & contrast

On white

5.73
#B021AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B021AD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B021AD#FFFFFF#000000##FFFFFF
##B021AD1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b021ad;
/* rgb */ color: rgb(176, 33, 173);
/* oklch */ color: oklch(54.1% 0.226 329.1);
Tailwind
colors: {
  custom: {
    50: '#cc70c6',
    500: '#b021ad',
    950: '#000000',
  },
}
SCSS
$custom: #b021ad;
$custom-light: #cc70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b021ad",
  "rgb": {
    "r": 176,
    "g": 33,
    "b": 173
  },
  "hsl": {
    "h": 301.259,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.22641,
    "h": 329.1
  },
  "luminance": 0.13335
}

Semantic roles & 50–950 ramp

primary
#B021AD
secondary
#64C866
accent
#EB403D
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B021AD

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

Preview Lab → · Contrast checker → · Palette generator →

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