#B221A0#B221A0

#B221A0 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.218 H 334.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B221A0
RGBrgb(178, 33, 160)
HSLhsl(307, 69%, 41%)
HSVhsv(307, 81%, 70%)
CMYKcmyk(0%, 81.5%, 10.1%, 30.2%)
CIE-LABlab(42.90, 67.53, -34.72)
CIE-LCHlch(42.90, 75.93, 332.79°)
OKLaboklab(53.69% 0.1964 -0.0953)
OKLCHoklch(53.69% 0.218 334.1)
XYZxyz(25.2494, 13.0930, 34.4483)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B221A0 #21B233
analogous
#7C21B2 #B221A0 #B22158
triadic
#B221A0 #A0B221 #21A0B2
tetradic
#B221A0 #B27C21 #21B233 #2158B2
square
#B221A0 #B27C21 #21B233 #2158B2
split-complementary
#B221A0 #58B221 #21B27C
monochromatic
#4B0E43 #7E1772 #B221A0 #DA36C6 #E36AD4

Accessibility & contrast

On white

5.80
#B221A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B221A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B221A0
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B221A0#FFFFFF#000000##FFFFFF
##B221A01.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C58A3
Deuteranopia (green-blind)
#586D9D
Tritanopia (blue-blind)
#BB3161
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b221a0;
/* rgb */ color: rgb(178, 33, 160);
/* oklch */ color: oklch(53.7% 0.218 334.1);
Tailwind
colors: {
  custom: {
    50: '#cd70bc',
    500: '#b221a0',
    950: '#000000',
  },
}
SCSS
$custom: #b221a0;
$custom-light: #cd70bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b221a0",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 160
  },
  "hsl": {
    "h": 307.448,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5369,
    "c": 0.21825,
    "h": 334.1
  },
  "luminance": 0.13091
}

Semantic roles & 50–950 ramp

primary
#B221A0
secondary
#66C972
accent
#EC523C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B221A0

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

Preview Lab → · Contrast checker → · Palette generator →

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