#B22FA3#B22FA3

#B22FA3 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.207 H 333.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B22FA3
RGBrgb(178, 47, 163)
HSLhsl(307, 58%, 44%)
HSVhsv(307, 74%, 70%)
CMYKcmyk(0%, 73.6%, 8.4%, 30.2%)
CIE-LABlab(44.44, 64.01, -34.10)
CIE-LCHlch(44.44, 72.52, 331.96°)
OKLaboklab(54.84% 0.1848 -0.0935)
OKLCHoklch(54.84% 0.207 333.2)
XYZxyz(25.9876, 14.1445, 36.0047)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22FA3 #2FB23E
analogous
#802FB2 #B22FA3 #B22F62
triadic
#B22FA3 #A3B22F #2FA3B2
tetradic
#B22FA3 #B2802F #2FB23E #2F62B2
square
#B22FA3 #B2802F #2FB23E #2F62B2
split-complementary
#B22FA3 #62B22F #2FB280
monochromatic
#51154A #822277 #B22FA3 #D04EC1 #DD7ED2

Accessibility & contrast

On white

5.49
#B22FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B22FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22FA3
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22FA3#FFFFFF#000000##FFFFFF
##B22FA31.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA6
Deuteranopia (green-blind)
#5B70A0
Tritanopia (blue-blind)
#BA3C66
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b22fa3;
/* rgb */ color: rgb(178, 47, 163);
/* oklch */ color: oklch(54.8% 0.207 333.2);
Tailwind
colors: {
  custom: {
    50: '#cd75be',
    500: '#b22fa3',
    950: '#000000',
  },
}
SCSS
$custom: #b22fa3;
$custom-light: #cd75be;
$custom-dark: #000000;
JSON
{
  "hex": "#b22fa3",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 306.87,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54841,
    "c": 0.20717,
    "h": 333.2
  },
  "luminance": 0.14142
}

Semantic roles & 50–950 ramp

primary
#B22FA3
secondary
#77C680
accent
#E15846
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B22FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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