#99218E#99218E

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

Color values

HEX#99218E
RGBrgb(153, 33, 142)
HSLhsl(306, 65%, 36%)
HSVhsv(306, 78%, 60%)
CMYKcmyk(0%, 78.4%, 7.2%, 40%)
CIE-LABlab(37.51, 59.46, -32.62)
CIE-LCHlch(37.51, 67.82, 331.25°)
OKLaboklab(48.69% 0.1709 -0.0898)
OKLCHoklch(48.69% 0.193 332.3)
XYZxyz(18.5633, 9.8146, 26.5027)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99218E #21992C
analogous
#682199 #99218E #992152
triadic
#99218E #8E9921 #218E99
tetradic
#99218E #996821 #21992C #215299
square
#99218E #996821 #21992C #215299
split-complementary
#99218E #529921 #219968
monochromatic
#340B31 #67165F #99218E #CB2CBD #DB59CF

Accessibility & contrast

On white

7.09
#99218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #99218E
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99218E#FFFFFF#000000##FFFFFF
##99218E1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184E91
Deuteranopia (green-blind)
#4A5E8B
Tritanopia (blue-blind)
#A03057
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #99218e;
/* rgb */ color: rgb(153, 33, 142);
/* oklch */ color: oklch(48.7% 0.193 332.3);
Tailwind
colors: {
  custom: {
    50: '#bb6baf',
    500: '#99218e',
    950: '#000000',
  },
}
SCSS
$custom: #99218e;
$custom-light: #bb6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#99218e",
  "rgb": {
    "r": 153,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 305.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48692,
    "c": 0.19307,
    "h": 332.3
  },
  "luminance": 0.09813
}

Semantic roles & 50–950 ramp

primary
#99218E
secondary
#56BF60
accent
#E85040
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #99218E

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

Preview Lab → · Contrast checker → · Palette generator →

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