#B22F9F#B22F9F

#B22F9F is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.6% C 0.204 H 334.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B22F9F
RGBrgb(178, 47, 159)
HSLhsl(309, 58%, 44%)
HSVhsv(309, 74%, 70%)
CMYKcmyk(0%, 73.6%, 10.7%, 30.2%)
CIE-LABlab(44.24, 63.40, -32.02)
CIE-LCHlch(44.24, 71.03, 333.20°)
OKLaboklab(54.63% 0.1846 -0.0876)
OKLCHoklch(54.63% 0.204 334.6)
XYZxyz(25.6349, 14.0035, 34.1470)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F9F #2FB242
analogous
#842FB2 #B22F9F #B22F5E
triadic
#B22F9F #9FB22F #2F9FB2
tetradic
#B22F9F #B2842F #2FB242 #2F5EB2
square
#B22F9F #B2842F #2FB242 #2F5EB2
split-complementary
#B22F9F #5EB22F #2FB284
monochromatic
#511549 #822274 #B22F9F #D04EBD #DD7ECF

Accessibility & contrast

On white

5.53
#B22F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B22F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F9F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F9F#FFFFFF#000000##FFFFFF
##B22F9F1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA2
Deuteranopia (green-blind)
#5D6F9C
Tritanopia (blue-blind)
#BB3A64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b22f9f;
/* rgb */ color: rgb(178, 47, 159);
/* oklch */ color: oklch(54.6% 0.204 334.6);
Tailwind
colors: {
  custom: {
    50: '#cd75bc',
    500: '#b22f9f',
    950: '#000000',
  },
}
SCSS
$custom: #b22f9f;
$custom-light: #cd75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f9f",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 308.702,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54631,
    "c": 0.2043,
    "h": 334.6
  },
  "luminance": 0.14001
}

Semantic roles & 50–950 ramp

primary
#B22F9F
secondary
#77C682
accent
#E15D46
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B22F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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