#B22BAA#B22BAA

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

Color values

HEX#B22BAA
RGBrgb(178, 43, 170)
HSLhsl(304, 61%, 43%)
HSVhsv(304, 76%, 70%)
CMYKcmyk(0%, 75.8%, 4.5%, 30.2%)
CIE-LABlab(44.37, 66.33, -38.37)
CIE-LCHlch(44.37, 76.63, 329.95°)
OKLaboklab(54.91% 0.1887 -0.1059)
OKLCHoklch(54.91% 0.216 330.7)
XYZxyz(26.4796, 14.0971, 39.3488)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22BAA #2BB233
analogous
#772BB2 #B22BAA #B22B66
triadic
#B22BAA #AAB22B #2BAAB2
tetradic
#B22BAA #B2772B #2BB233 #2B66B2
square
#B22BAA #B2772B #2BB233 #2B66B2
split-complementary
#B22BAA #66B22B #2BB277
monochromatic
#4F134C #811F7B #B22BAA #D348CA #DF79D9

Accessibility & contrast

On white

5.50
#B22BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B22BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22BAA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22BAA#FFFFFF#000000##FFFFFF
##B22BAA1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5DAD
Deuteranopia (green-blind)
#566FA7
Tritanopia (blue-blind)
#B93D69
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b22baa;
/* rgb */ color: rgb(178, 43, 170);
/* oklch */ color: oklch(54.9% 0.216 330.7);
Tailwind
colors: {
  custom: {
    50: '#cd74c4',
    500: '#b22baa',
    950: '#000000',
  },
}
SCSS
$custom: #b22baa;
$custom-light: #cd74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b22baa",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 303.556,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54912,
    "c": 0.21638,
    "h": 330.7
  },
  "luminance": 0.14095
}

Semantic roles & 50–950 ramp

primary
#B22BAA
secondary
#72C777
accent
#E44D44
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B22BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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