#B22EA5#B22EA5

#B22EA5 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.210 H 332.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B22EA5
RGBrgb(178, 46, 165)
HSLhsl(306, 59%, 44%)
HSVhsv(306, 74%, 70%)
CMYKcmyk(0%, 74.2%, 7.3%, 30.2%)
CIE-LABlab(44.43, 64.64, -35.30)
CIE-LCHlch(44.43, 73.65, 331.36°)
OKLaboklab(54.87% 0.1859 -0.097)
OKLCHoklch(54.87% 0.21 332.4)
XYZxyz(26.1287, 14.1378, 36.9427)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22EA5 #2EB23B
analogous
#7D2EB2 #B22EA5 #B22E63
triadic
#B22EA5 #A5B22E #2EA5B2
tetradic
#B22EA5 #B27D2E #2EB23B #2E63B2
square
#B22EA5 #B27D2E #2EB23B #2E63B2
split-complementary
#B22EA5 #63B22E #2EB27D
monochromatic
#51154B #812178 #B22EA5 #D14CC4 #DD7DD4

Accessibility & contrast

On white

5.49
#B22EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B22EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22EA5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22EA5#FFFFFF#000000##FFFFFF
##B22EA51.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265DA8
Deuteranopia (green-blind)
#5A70A2
Tritanopia (blue-blind)
#BA3D67
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b22ea5;
/* rgb */ color: rgb(178, 46, 165);
/* oklch */ color: oklch(54.9% 0.210 332.4);
Tailwind
colors: {
  custom: {
    50: '#cd75c0',
    500: '#b22ea5',
    950: '#000000',
  },
}
SCSS
$custom: #b22ea5;
$custom-light: #cd75c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b22ea5",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 305.909,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.20969,
    "h": 332.4
  },
  "luminance": 0.14136
}

Semantic roles & 50–950 ramp

primary
#B22EA5
secondary
#76C67E
accent
#E25546
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B22EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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