#B22CA3#B22CA3

#B22CA3 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.210 H 333.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B22CA3
RGBrgb(178, 44, 163)
HSLhsl(307, 60%, 44%)
HSVhsv(307, 75%, 70%)
CMYKcmyk(0%, 75.3%, 8.4%, 30.2%)
CIE-LABlab(44.11, 64.96, -34.62)
CIE-LCHlch(44.11, 73.60, 331.94°)
OKLaboklab(54.6% 0.1876 -0.095)
OKLCHoklch(54.6% 0.21 333.1)
XYZxyz(25.8718, 13.9129, 35.9661)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22CA3 #2CB23B
analogous
#7E2CB2 #B22CA3 #B22C60
triadic
#B22CA3 #A3B22C #2CA3B2
tetradic
#B22CA3 #B27E2C #2CB23B #2C60B2
square
#B22CA3 #B27E2C #2CB23B #2C60B2
split-complementary
#B22CA3 #60B22C #2CB27E
monochromatic
#501449 #812076 #B22CA3 #D249C3 #DE7AD3

Accessibility & contrast

On white

5.55
#B22CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B22CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22CA3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22CA3#FFFFFF#000000##FFFFFF
##B22CA31.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265CA6
Deuteranopia (green-blind)
#5A6FA0
Tritanopia (blue-blind)
#BA3A65
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b22ca3;
/* rgb */ color: rgb(178, 44, 163);
/* oklch */ color: oklch(54.6% 0.210 333.1);
Tailwind
colors: {
  custom: {
    50: '#cd74be',
    500: '#b22ca3',
    950: '#000000',
  },
}
SCSS
$custom: #b22ca3;
$custom-light: #cd74be;
$custom-dark: #000000;
JSON
{
  "hex": "#b22ca3",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 306.716,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54603,
    "c": 0.21031,
    "h": 333.1
  },
  "luminance": 0.13911
}

Semantic roles & 50–950 ramp

primary
#B22CA3
secondary
#73C67D
accent
#E45644
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B22CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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