#B22FAA#B22FAA

#B22FAA is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.212 H 330.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B22FAA
RGBrgb(178, 47, 170)
HSLhsl(304, 58%, 44%)
HSVhsv(304, 74%, 70%)
CMYKcmyk(0%, 73.6%, 4.5%, 30.2%)
CIE-LABlab(44.80, 65.10, -37.68)
CIE-LCHlch(44.80, 75.22, 329.93°)
OKLaboklab(55.22% 0.1852 -0.1039)
OKLCHoklch(55.22% 0.212 330.7)
XYZxyz(26.6322, 14.4024, 39.3997)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22FAA #2FB237
analogous
#792FB2 #B22FAA #B22F69
triadic
#B22FAA #AAB22F #2FAAB2
tetradic
#B22FAA #B2792F #2FB237 #2F69B2
square
#B22FAA #B2792F #2FB237 #2F69B2
split-complementary
#B22FAA #69B22F #2FB279
monochromatic
#51154E #82227C #B22FAA #D04EC8 #DD7ED7

Accessibility & contrast

On white

5.41
#B22FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B22FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22FAA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22FAA#FFFFFF#000000##FFFFFF
##B22FAA1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215FAD
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#B9406A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b22faa;
/* rgb */ color: rgb(178, 47, 170);
/* oklch */ color: oklch(55.2% 0.212 330.7);
Tailwind
colors: {
  custom: {
    50: '#cd75c4',
    500: '#b22faa',
    950: '#000000',
  },
}
SCSS
$custom: #b22faa;
$custom-light: #cd75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b22faa",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 303.664,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55222,
    "c": 0.21232,
    "h": 330.7
  },
  "luminance": 0.144
}

Semantic roles & 50–950 ramp

primary
#B22FAA
secondary
#77C67C
accent
#E15046
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B22FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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