#B22EA3#B22EA3

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

Color values

HEX#B22EA3
RGBrgb(178, 46, 163)
HSLhsl(307, 59%, 44%)
HSVhsv(307, 74%, 70%)
CMYKcmyk(0%, 74.2%, 8.4%, 30.2%)
CIE-LABlab(44.33, 64.33, -34.27)
CIE-LCHlch(44.33, 72.89, 331.95°)
OKLaboklab(54.76% 0.1858 -0.094)
OKLCHoklch(54.76% 0.208 333.1)
XYZxyz(25.9481, 14.0655, 35.9915)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22EA3 #2EB23D
analogous
#7F2EB2 #B22EA3 #B22E61
triadic
#B22EA3 #A3B22E #2EA3B2
tetradic
#B22EA3 #B27F2E #2EB23D #2E61B2
square
#B22EA3 #B27F2E #2EB23D #2E61B2
split-complementary
#B22EA3 #61B22E #2EB27F
monochromatic
#51154A #812176 #B22EA3 #D14CC2 #DD7DD2

Accessibility & contrast

On white

5.51
#B22EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22EA3
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22EA3#FFFFFF#000000##FFFFFF
##B22EA31.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285DA6
Deuteranopia (green-blind)
#5B6FA0
Tritanopia (blue-blind)
#BA3C66
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b22ea3;
/* rgb */ color: rgb(178, 46, 163);
/* oklch */ color: oklch(54.8% 0.208 333.1);
Tailwind
colors: {
  custom: {
    50: '#cd74be',
    500: '#b22ea3',
    950: '#000000',
  },
}
SCSS
$custom: #b22ea3;
$custom-light: #cd74be;
$custom-dark: #000000;
JSON
{
  "hex": "#b22ea3",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 306.818,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5476,
    "c": 0.20823,
    "h": 333.1
  },
  "luminance": 0.14063
}

Semantic roles & 50–950 ramp

primary
#B22EA3
secondary
#76C67F
accent
#E25746
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B22EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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