#99228C#99228C

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

Color values

HEX#99228C
RGBrgb(153, 34, 140)
HSLhsl(307, 64%, 37%)
HSVhsv(307, 78%, 60%)
CMYKcmyk(0%, 77.8%, 8.5%, 40%)
CIE-LABlab(37.50, 58.86, -31.40)
CIE-LCHlch(37.50, 66.71, 331.92°)
OKLaboklab(48.65% 0.17 -0.0862)
OKLCHoklch(48.65% 0.191 333.1)
XYZxyz(18.4426, 9.8114, 25.7283)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99228C #22992F
analogous
#6B2299 #99228C #992251
triadic
#99228C #8C9922 #228C99
tetradic
#99228C #996B22 #22992F #225199
square
#99228C #996B22 #22992F #225199
split-complementary
#99228C #519922 #22996B
monochromatic
#350C30 #67175E #99228C #CB2DBA #DB5BCD

Accessibility & contrast

On white

7.09
#99228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#99228C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #99228C
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99228C#FFFFFF#000000##FFFFFF
##99228C1.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)
#1C4D8F
Deuteranopia (green-blind)
#4B5E89
Tritanopia (blue-blind)
#A02F56
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #99228c;
/* rgb */ color: rgb(153, 34, 140);
/* oklch */ color: oklch(48.7% 0.191 333.1);
Tailwind
colors: {
  custom: {
    50: '#bb6bae',
    500: '#99228c',
    950: '#000000',
  },
}
SCSS
$custom: #99228c;
$custom-light: #bb6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#99228c",
  "rgb": {
    "r": 153,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 306.555,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48653,
    "c": 0.19064,
    "h": 333.1
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

primary
#99228C
secondary
#58BF63
accent
#E75341
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #99228C

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

Preview Lab → · Contrast checker → · Palette generator →

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