#B22FB3#B22FB3

#B22FB3 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.219 H 327.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B22FB3
RGBrgb(178, 47, 179)
HSLhsl(300, 58%, 44%)
HSVhsv(300, 74%, 70%)
CMYKcmyk(0.6%, 73.7%, 0%, 29.8%)
CIE-LABlab(45.30, 66.54, -42.22)
CIE-LCHlch(45.30, 78.81, 327.60°)
OKLaboklab(55.73% 0.1852 -0.1171)
OKLCHoklch(55.73% 0.219 327.7)
XYZxyz(27.5129, 14.7547, 44.0379)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22FB3 #30B32F
analogous
#702FB3 #B22FB3 #B32F72
triadic
#B22FB3 #B3B22F #2FB3B2
tetradic
#B22FB3 #B3702F #30B32F #2F72B3
square
#B22FB3 #B3702F #30B32F #2F72B3
split-complementary
#B22FB3 #72B32F #2FB370
monochromatic
#521652 #822283 #B22FB3 #D04FD1 #DD7FDD

Accessibility & contrast

On white

5.32
#B22FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B22FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22FB3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22FB3#FFFFFF#000000##FFFFFF
##B22FB31.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1060B7
Deuteranopia (green-blind)
#5271B0
Tritanopia (blue-blind)
#B7446F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b22fb3;
/* rgb */ color: rgb(178, 47, 179);
/* oklch */ color: oklch(55.7% 0.219 327.7);
Tailwind
colors: {
  custom: {
    50: '#cd75ca',
    500: '#b22fb3',
    950: '#000000',
  },
}
SCSS
$custom: #b22fb3;
$custom-light: #cd75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b22fb3",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 299.545,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55733,
    "c": 0.21911,
    "h": 327.7
  },
  "luminance": 0.14753
}

Semantic roles & 50–950 ramp

primary
#B22FB3
secondary
#78C678
accent
#E24647
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B22FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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