#B22DB0#B22DB0

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

Color values

HEX#B22DB0
RGBrgb(178, 45, 176)
HSLhsl(301, 60%, 44%)
HSVhsv(301, 75%, 70%)
CMYKcmyk(0%, 74.7%, 1.1%, 30.2%)
CIE-LABlab(44.91, 66.68, -41.07)
CIE-LCHlch(44.91, 78.31, 328.37°)
OKLaboklab(55.4% 0.187 -0.1137)
OKLCHoklch(55.4% 0.219 328.7)
XYZxyz(27.1347, 14.4784, 42.4313)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22DB0 #2DB22F
analogous
#712DB2 #B22DB0 #B22D6D
triadic
#B22DB0 #B0B22D #2DB0B2
tetradic
#B22DB0 #B2712D #2DB22F #2D6DB2
square
#B22DB0 #B2712D #2DB22F #2D6DB2
split-complementary
#B22DB0 #6DB22D #2DB271
monochromatic
#50144F #812180 #B22DB0 #D14BCF #DE7CDC

Accessibility & contrast

On white

5.39
#B22DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22DB0
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22DB0#FFFFFF#000000##FFFFFF
##B22DB01.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135FB4
Deuteranopia (green-blind)
#5370AD
Tritanopia (blue-blind)
#B8416D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b22db0;
/* rgb */ color: rgb(178, 45, 176);
/* oklch */ color: oklch(55.4% 0.219 328.7);
Tailwind
colors: {
  custom: {
    50: '#cd75c8',
    500: '#b22db0',
    950: '#000000',
  },
}
SCSS
$custom: #b22db0;
$custom-light: #cd75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b22db0",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 300.902,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55404,
    "c": 0.21886,
    "h": 328.7
  },
  "luminance": 0.14476
}

Semantic roles & 50–950 ramp

primary
#B22DB0
secondary
#75C676
accent
#E34745
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B22DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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