#99228F#99228F

#99228F is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.193 H 331.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#99228F
RGBrgb(153, 34, 143)
HSLhsl(305, 64%, 37%)
HSVhsv(305, 78%, 60%)
CMYKcmyk(0%, 77.8%, 6.5%, 40%)
CIE-LABlab(37.66, 59.32, -32.98)
CIE-LCHlch(37.66, 67.88, 330.93°)
OKLaboklab(48.82% 0.1701 -0.0908)
OKLCHoklch(48.82% 0.193 331.9)
XYZxyz(18.6669, 9.9011, 26.9092)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99228F #22992C
analogous
#682299 #99228F #992254
triadic
#99228F #8F9922 #228F99
tetradic
#99228F #996822 #22992C #225499
square
#99228F #996822 #22992C #225499
split-complementary
#99228F #549922 #229968
monochromatic
#350C31 #671760 #99228F #CB2DBE #DB5BD0

Accessibility & contrast

On white

7.05
#99228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#99228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #99228F
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99228F#FFFFFF#000000##FFFFFF
##99228F1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184E92
Deuteranopia (green-blind)
#4A5E8C
Tritanopia (blue-blind)
#A03157
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #99228f;
/* rgb */ color: rgb(153, 34, 143);
/* oklch */ color: oklch(48.8% 0.193 331.9);
Tailwind
colors: {
  custom: {
    50: '#bb6bb0',
    500: '#99228f',
    950: '#000000',
  },
}
SCSS
$custom: #99228f;
$custom-light: #bb6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#99228f",
  "rgb": {
    "r": 153,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 305.042,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48822,
    "c": 0.19284,
    "h": 331.9
  },
  "luminance": 0.099
}

Semantic roles & 50–950 ramp

primary
#99228F
secondary
#58BF61
accent
#E74F41
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #99228F

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

Preview Lab → · Contrast checker → · Palette generator →

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