#99218B#99218B

#99218B is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.191 H 333.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#99218B
RGBrgb(153, 33, 139)
HSLhsl(307, 65%, 36%)
HSVhsv(307, 78%, 60%)
CMYKcmyk(0%, 78.4%, 9.2%, 40%)
CIE-LABlab(37.35, 59.00, -31.03)
CIE-LCHlch(37.35, 66.66, 332.25°)
OKLaboklab(48.52% 0.1708 -0.0852)
OKLCHoklch(48.52% 0.191 333.5)
XYZxyz(18.3411, 9.7257, 25.3324)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99218B #21992F
analogous
#6B2199 #99218B #99214F
triadic
#99218B #8B9921 #218B99
tetradic
#99218B #996B21 #21992F #214F99
square
#99218B #996B21 #21992F #214F99
split-complementary
#99218B #4F9921 #21996B
monochromatic
#340B30 #67165D #99218B #CB2CB9 #DB59CC

Accessibility & contrast

On white

7.13
#99218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#99218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #99218B
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99218B#FFFFFF#000000##FFFFFF
##99218B1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4D8E
Deuteranopia (green-blind)
#4B5E88
Tritanopia (blue-blind)
#A02E55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #99218b;
/* rgb */ color: rgb(153, 33, 139);
/* oklch */ color: oklch(48.5% 0.191 333.5);
Tailwind
colors: {
  custom: {
    50: '#bb6bad',
    500: '#99218b',
    950: '#000000',
  },
}
SCSS
$custom: #99218b;
$custom-light: #bb6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#99218b",
  "rgb": {
    "r": 153,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 307,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48523,
    "c": 0.19089,
    "h": 333.5
  },
  "luminance": 0.09724
}

Semantic roles & 50–950 ramp

primary
#99218B
secondary
#56BF63
accent
#E85440
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #99218B

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

Preview Lab → · Contrast checker → · Palette generator →

#99218B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva