#B22EAF#B22EAF

#B22EAF is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.4% C 0.217 H 329.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B22EAF
RGBrgb(178, 46, 175)
HSLhsl(301, 59%, 44%)
HSVhsv(301, 74%, 70%)
CMYKcmyk(0%, 74.2%, 1.7%, 30.2%)
CIE-LABlab(44.96, 66.21, -40.39)
CIE-LCHlch(44.96, 77.56, 328.62°)
OKLaboklab(55.42% 0.1861 -0.1117)
OKLCHoklch(55.42% 0.217 329)
XYZxyz(27.0747, 14.5162, 41.9250)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22EAF #2EB231
analogous
#732EB2 #B22EAF #B22E6D
triadic
#B22EAF #AFB22E #2EAFB2
tetradic
#B22EAF #B2732E #2EB231 #2E6DB2
square
#B22EAF #B2732E #2EB231 #2E6DB2
split-complementary
#B22EAF #6DB22E #2EB273
monochromatic
#51154F #81217F #B22EAF #D14CCE #DD7DDB

Accessibility & contrast

On white

5.38
#B22EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B22EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22EAF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22EAF#FFFFFF#000000##FFFFFF
##B22EAF1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB2
Deuteranopia (green-blind)
#5470AC
Tritanopia (blue-blind)
#B8426C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b22eaf;
/* rgb */ color: rgb(178, 46, 175);
/* oklch */ color: oklch(55.4% 0.217 329.0);
Tailwind
colors: {
  custom: {
    50: '#cd75c7',
    500: '#b22eaf',
    950: '#000000',
  },
}
SCSS
$custom: #b22eaf;
$custom-light: #cd75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b22eaf",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 301.364,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55424,
    "c": 0.2171,
    "h": 329
  },
  "luminance": 0.14514
}

Semantic roles & 50–950 ramp

primary
#B22EAF
secondary
#76C678
accent
#E24946
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B22EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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