#B22FAE#B22FAE

#B22FAE is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.215 H 329.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B22FAE
RGBrgb(178, 47, 174)
HSLhsl(302, 58%, 44%)
HSVhsv(302, 74%, 70%)
CMYKcmyk(0%, 73.6%, 2.2%, 30.2%)
CIE-LABlab(45.02, 65.73, -39.71)
CIE-LCHlch(45.02, 76.80, 328.86°)
OKLaboklab(55.45% 0.1852 -0.1098)
OKLCHoklch(55.45% 0.215 329.3)
XYZxyz(27.0164, 14.5561, 41.4229)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22FAE #2FB233
analogous
#752FB2 #B22FAE #B22F6D
triadic
#B22FAE #AEB22F #2FAEB2
tetradic
#B22FAE #B2752F #2FB233 #2F6DB2
square
#B22FAE #B2752F #2FB233 #2F6DB2
split-complementary
#B22FAE #6DB22F #2FB275
monochromatic
#51154F #82227F #B22FAE #D04ECC #DD7EDA

Accessibility & contrast

On white

5.37
#B22FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B22FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22FAE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22FAE#FFFFFF#000000##FFFFFF
##B22FAE1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5FB1
Deuteranopia (green-blind)
#5571AB
Tritanopia (blue-blind)
#B8426C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b22fae;
/* rgb */ color: rgb(178, 47, 174);
/* oklch */ color: oklch(55.4% 0.215 329.3);
Tailwind
colors: {
  custom: {
    50: '#cd75c6',
    500: '#b22fae',
    950: '#000000',
  },
}
SCSS
$custom: #b22fae;
$custom-light: #cd75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b22fae",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 301.832,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55446,
    "c": 0.21531,
    "h": 329.3
  },
  "luminance": 0.14554
}

Semantic roles & 50–950 ramp

primary
#B22FAE
secondary
#77C679
accent
#E14B46
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B22FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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