#B221A5#B221A5

#B221A5 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.222 H 332.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B221A5
RGBrgb(178, 33, 165)
HSLhsl(305, 69%, 41%)
HSVhsv(305, 81%, 70%)
CMYKcmyk(0%, 81.5%, 7.3%, 30.2%)
CIE-LABlab(43.17, 68.26, -37.29)
CIE-LCHlch(43.17, 77.79, 331.35°)
OKLaboklab(53.97% 0.1965 -0.1027)
OKLCHoklch(53.97% 0.222 332.4)
XYZxyz(25.6956, 13.2715, 36.7984)
Luminance0.1327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B221A5 #21B22E
analogous
#7721B2 #B221A5 #B2215D
triadic
#B221A5 #A5B221 #21A5B2
tetradic
#B221A5 #B27721 #21B22E #215DB2
square
#B221A5 #B27721 #21B22E #215DB2
split-complementary
#B221A5 #5DB221 #21B277
monochromatic
#4B0E45 #7E1775 #B221A5 #DA36CB #E36AD9

Accessibility & contrast

On white

5.75
#B221A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B221A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B221A5
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B221A5#FFFFFF#000000##FFFFFF
##B221A51.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1359A8
Deuteranopia (green-blind)
#556DA2
Tritanopia (blue-blind)
#BA3464
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b221a5;
/* rgb */ color: rgb(178, 33, 165);
/* oklch */ color: oklch(54.0% 0.222 332.4);
Tailwind
colors: {
  custom: {
    50: '#cd70c0',
    500: '#b221a5',
    950: '#000000',
  },
}
SCSS
$custom: #b221a5;
$custom-light: #cd70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b221a5",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 165
  },
  "hsl": {
    "h": 305.379,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53966,
    "c": 0.22168,
    "h": 332.4
  },
  "luminance": 0.13269
}

Semantic roles & 50–950 ramp

primary
#B221A5
secondary
#66C96F
accent
#EC4C3C
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B221A5

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

Preview Lab → · Contrast checker → · Palette generator →

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