#B22FA0#B22FA0

#B22FA0 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.7% C 0.205 H 334.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B22FA0
RGBrgb(178, 47, 160)
HSLhsl(308, 58%, 44%)
HSVhsv(308, 74%, 70%)
CMYKcmyk(0%, 73.6%, 10.1%, 30.2%)
CIE-LABlab(44.29, 63.55, -32.54)
CIE-LCHlch(44.29, 71.40, 332.88°)
OKLaboklab(54.68% 0.1846 -0.0891)
OKLCHoklch(54.68% 0.205 334.2)
XYZxyz(25.7220, 14.0383, 34.6059)
Luminance0.1404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22FA0 #2FB241
analogous
#832FB2 #B22FA0 #B22F5F
triadic
#B22FA0 #A0B22F #2FA0B2
tetradic
#B22FA0 #B2832F #2FB241 #2F5FB2
square
#B22FA0 #B2832F #2FB241 #2F5FB2
split-complementary
#B22FA0 #5FB22F #2FB283
monochromatic
#511549 #822274 #B22FA0 #D04EBE #DD7ED0

Accessibility & contrast

On white

5.52
#B22FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B22FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22FA0
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22FA0#FFFFFF#000000##FFFFFF
##B22FA01.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5CA3
Deuteranopia (green-blind)
#5C6F9D
Tritanopia (blue-blind)
#BA3B64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b22fa0;
/* rgb */ color: rgb(178, 47, 160);
/* oklch */ color: oklch(54.7% 0.205 334.2);
Tailwind
colors: {
  custom: {
    50: '#cd75bc',
    500: '#b22fa0',
    950: '#000000',
  },
}
SCSS
$custom: #b22fa0;
$custom-light: #cd75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b22fa0",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 308.244,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54683,
    "c": 0.20501,
    "h": 334.2
  },
  "luminance": 0.14036
}

Semantic roles & 50–950 ramp

primary
#B22FA0
secondary
#77C682
accent
#E15C46
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B22FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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