#99228A#99228A

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

Color values

HEX#99228A
RGBrgb(153, 34, 138)
HSLhsl(308, 64%, 37%)
HSVhsv(308, 78%, 60%)
CMYKcmyk(0%, 77.8%, 9.8%, 40%)
CIE-LABlab(37.40, 58.55, -30.34)
CIE-LCHlch(37.40, 65.94, 332.61°)
OKLaboklab(48.54% 0.1699 -0.0832)
OKLCHoklch(48.54% 0.189 333.9)
XYZxyz(18.2965, 9.7529, 24.9587)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99228A #229931
analogous
#6D2299 #99228A #99224F
triadic
#99228A #8A9922 #228A99
tetradic
#99228A #996D22 #229931 #224F99
square
#99228A #996D22 #229931 #224F99
split-complementary
#99228A #4F9922 #22996D
monochromatic
#350C30 #67175D #99228A #CB2DB7 #DB5BCA

Accessibility & contrast

On white

7.12
#99228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#99228A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #99228A
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99228A#FFFFFF#000000##FFFFFF
##99228A1.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)
#1E4D8D
Deuteranopia (green-blind)
#4C5E87
Tritanopia (blue-blind)
#A02E55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #99228a;
/* rgb */ color: rgb(153, 34, 138);
/* oklch */ color: oklch(48.5% 0.189 333.9);
Tailwind
colors: {
  custom: {
    50: '#bb6bac',
    500: '#99228a',
    950: '#000000',
  },
}
SCSS
$custom: #99228a;
$custom-light: #bb6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#99228a",
  "rgb": {
    "r": 153,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 307.563,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48542,
    "c": 0.18918,
    "h": 333.9
  },
  "luminance": 0.09751
}

Semantic roles & 50–950 ramp

primary
#99228A
secondary
#58BF65
accent
#E75641
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #99228A

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

Preview Lab → · Contrast checker → · Palette generator →

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