#99218D#99218D

#99218D is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.192 H 332.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#99218D
RGBrgb(153, 33, 141)
HSLhsl(306, 65%, 36%)
HSVhsv(306, 78%, 60%)
CMYKcmyk(0%, 78.4%, 7.8%, 40%)
CIE-LABlab(37.45, 59.30, -32.09)
CIE-LCHlch(37.45, 67.43, 331.58°)
OKLaboklab(48.64% 0.1709 -0.0882)
OKLCHoklch(48.64% 0.192 332.7)
XYZxyz(18.4885, 9.7847, 26.1090)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99218D #21992D
analogous
#692199 #99218D #992151
triadic
#99218D #8D9921 #218D99
tetradic
#99218D #996921 #21992D #215199
square
#99218D #996921 #21992D #215199
split-complementary
#99218D #519921 #219969
monochromatic
#340B30 #67165F #99218D #CB2CBB #DB59CE

Accessibility & contrast

On white

7.10
#99218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#99218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #99218D
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99218D#FFFFFF#000000##FFFFFF
##99218D1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194D90
Deuteranopia (green-blind)
#4A5E8A
Tritanopia (blue-blind)
#A02F56
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #99218d;
/* rgb */ color: rgb(153, 33, 141);
/* oklch */ color: oklch(48.6% 0.192 332.7);
Tailwind
colors: {
  custom: {
    50: '#bb6baf',
    500: '#99218d',
    950: '#000000',
  },
}
SCSS
$custom: #99218d;
$custom-light: #bb6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#99218d",
  "rgb": {
    "r": 153,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 306,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48635,
    "c": 0.19234,
    "h": 332.7
  },
  "luminance": 0.09783
}

Semantic roles & 50–950 ramp

primary
#99218D
secondary
#56BF61
accent
#E85140
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #99218D

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

Preview Lab → · Contrast checker → · Palette generator →

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