#B221A3#B221A3

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

Color values

HEX#B221A3
RGBrgb(178, 33, 163)
HSLhsl(306, 69%, 41%)
HSVhsv(306, 81%, 70%)
CMYKcmyk(0%, 81.5%, 8.4%, 30.2%)
CIE-LABlab(43.06, 67.97, -36.27)
CIE-LCHlch(43.06, 77.04, 331.91°)
OKLaboklab(53.86% 0.1964 -0.0997)
OKLCHoklch(53.86% 0.22 333.1)
XYZxyz(25.5150, 13.1993, 35.8472)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B221A3 #21B230
analogous
#7921B2 #B221A3 #B2215B
triadic
#B221A3 #A3B221 #21A3B2
tetradic
#B221A3 #B27921 #21B230 #215BB2
square
#B221A3 #B27921 #21B230 #215BB2
split-complementary
#B221A3 #5BB221 #21B279
monochromatic
#4B0E44 #7E1774 #B221A3 #DA36C9 #E36AD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B221A3#FFFFFF#000000##FFFFFF
##B221A31.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)
#1759A6
Deuteranopia (green-blind)
#566DA0
Tritanopia (blue-blind)
#BA3363
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b221a3;
/* rgb */ color: rgb(178, 33, 163);
/* oklch */ color: oklch(53.9% 0.220 333.1);
Tailwind
colors: {
  custom: {
    50: '#cd70bf',
    500: '#b221a3',
    950: '#000000',
  },
}
SCSS
$custom: #b221a3;
$custom-light: #cd70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b221a3",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 163
  },
  "hsl": {
    "h": 306.207,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53855,
    "c": 0.22031,
    "h": 333.1
  },
  "luminance": 0.13197
}

Semantic roles & 50–950 ramp

primary
#B221A3
secondary
#66C970
accent
#EC4E3C
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B221A3

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

Preview Lab → · Contrast checker → · Palette generator →

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