#99218A#99218A

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

Color values

HEX#99218A
RGBrgb(153, 33, 138)
HSLhsl(308, 65%, 36%)
HSVhsv(308, 78%, 60%)
CMYKcmyk(0%, 78.4%, 9.8%, 40%)
CIE-LABlab(37.29, 58.84, -30.50)
CIE-LCHlch(37.29, 66.28, 332.60°)
OKLaboklab(48.47% 0.1708 -0.0836)
OKLCHoklch(48.47% 0.19 333.9)
XYZxyz(18.2683, 9.6966, 24.9493)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99218A #219930
analogous
#6C2199 #99218A #99214E
triadic
#99218A #8A9921 #218A99
tetradic
#99218A #996C21 #219930 #214E99
square
#99218A #996C21 #219930 #214E99
split-complementary
#99218A #4E9921 #21996C
monochromatic
#340B2F #67165D #99218A #CB2CB7 #DB59CB

Accessibility & contrast

On white

7.15
#99218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #99218A
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99218A#FFFFFF#000000##FFFFFF
##99218A1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4D8D
Deuteranopia (green-blind)
#4C5E87
Tritanopia (blue-blind)
#A02D54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #99218a;
/* rgb */ color: rgb(153, 33, 138);
/* oklch */ color: oklch(48.5% 0.190 333.9);
Tailwind
colors: {
  custom: {
    50: '#bb6bac',
    500: '#99218a',
    950: '#000000',
  },
}
SCSS
$custom: #99218a;
$custom-light: #bb6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#99218a",
  "rgb": {
    "r": 153,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 307.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48468,
    "c": 0.19017,
    "h": 333.9
  },
  "luminance": 0.09695
}

Semantic roles & 50–950 ramp

primary
#99218A
secondary
#56BF64
accent
#E85540
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #99218A

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

Preview Lab → · Contrast checker → · Palette generator →

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