#99218C#99218C

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

Color values

HEX#99218C
RGBrgb(153, 33, 140)
HSLhsl(307, 65%, 36%)
HSVhsv(307, 78%, 60%)
CMYKcmyk(0%, 78.4%, 8.5%, 40%)
CIE-LABlab(37.40, 59.15, -31.56)
CIE-LCHlch(37.40, 67.04, 331.91°)
OKLaboklab(48.58% 0.1709 -0.0867)
OKLCHoklch(48.58% 0.192 333.1)
XYZxyz(18.4145, 9.7551, 25.7189)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99218C #21992E
analogous
#6A2199 #99218C #992150
triadic
#99218C #8C9921 #218C99
tetradic
#99218C #996A21 #21992E #215099
square
#99218C #996A21 #21992E #215099
split-complementary
#99218C #509921 #21996A
monochromatic
#340B30 #67165E #99218C #CB2CBA #DB59CD

Accessibility & contrast

On white

7.12
#99218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#99218C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #99218C
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99218C#FFFFFF#000000##FFFFFF
##99218C1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4D8F
Deuteranopia (green-blind)
#4B5E89
Tritanopia (blue-blind)
#A02F55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #99218c;
/* rgb */ color: rgb(153, 33, 140);
/* oklch */ color: oklch(48.6% 0.192 333.1);
Tailwind
colors: {
  custom: {
    50: '#bb6bae',
    500: '#99218c',
    950: '#000000',
  },
}
SCSS
$custom: #99218c;
$custom-light: #bb6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#99218c",
  "rgb": {
    "r": 153,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 306.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48579,
    "c": 0.19161,
    "h": 333.1
  },
  "luminance": 0.09753
}

Semantic roles & 50–950 ramp

primary
#99218C
secondary
#56BF62
accent
#E85240
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #99218C

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

Preview Lab → · Contrast checker → · Palette generator →

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