#99218F#99218F

#99218F is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.194 H 331.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#99218F
RGBrgb(153, 33, 143)
HSLhsl(305, 65%, 36%)
HSVhsv(305, 78%, 60%)
CMYKcmyk(0%, 78.4%, 6.5%, 40%)
CIE-LABlab(37.56, 59.62, -33.15)
CIE-LCHlch(37.56, 68.21, 330.93°)
OKLaboklab(48.75% 0.171 -0.0913)
OKLCHoklch(48.75% 0.194 331.9)
XYZxyz(18.6387, 9.8448, 26.8998)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99218F #21992B
analogous
#672199 #99218F #992153
triadic
#99218F #8F9921 #218F99
tetradic
#99218F #996721 #21992B #215399
square
#99218F #996721 #21992B #215399
split-complementary
#99218F #539921 #219967
monochromatic
#340B31 #671660 #99218F #CB2CBE #DB59D0

Accessibility & contrast

On white

7.07
#99218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#99218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #99218F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99218F#FFFFFF#000000##FFFFFF
##99218F1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164E92
Deuteranopia (green-blind)
#495E8C
Tritanopia (blue-blind)
#A03057
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #99218f;
/* rgb */ color: rgb(153, 33, 143);
/* oklch */ color: oklch(48.7% 0.194 331.9);
Tailwind
colors: {
  custom: {
    50: '#bb6bb0',
    500: '#99218f',
    950: '#000000',
  },
}
SCSS
$custom: #99218f;
$custom-light: #bb6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#99218f",
  "rgb": {
    "r": 153,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 305,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48749,
    "c": 0.1938,
    "h": 331.9
  },
  "luminance": 0.09843
}

Semantic roles & 50–950 ramp

primary
#99218F
secondary
#56BF5F
accent
#E84E40
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #99218F

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

Preview Lab → · Contrast checker → · Palette generator →

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