#99229F#99229F

#99229F is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.205 H 325.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#99229F
RGBrgb(153, 34, 159)
HSLhsl(297, 65%, 38%)
HSVhsv(297, 79%, 62%)
CMYKcmyk(3.8%, 78.6%, 0%, 37.6%)
CIE-LABlab(38.59, 61.94, -41.24)
CIE-LCHlch(38.59, 74.41, 326.34°)
OKLaboklab(49.78% 0.1698 -0.1148)
OKLCHoklch(49.78% 0.205 325.9)
XYZxyz(19.9665, 10.4209, 33.7540)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99229F #289F22
analogous
#5A229F #99229F #9F2266
triadic
#99229F #9F9922 #229F99
tetradic
#99229F #9F5A22 #289F22 #22669F
square
#99229F #9F5A22 #289F22 #22669F
split-complementary
#99229F #669F22 #229F5A
monochromatic
#380C3A #68176D #99229F #CA2DD1 #D75FDD

Accessibility & contrast

On white

6.81
#99229F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#99229F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #99229F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99229F#FFFFFF#000000##FFFFFF
##99229F1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#40609C
Tritanopia (blue-blind)
#9D3960
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #99229f;
/* rgb */ color: rgb(153, 34, 159);
/* oklch */ color: oklch(49.8% 0.205 325.9);
Tailwind
colors: {
  custom: {
    50: '#bb6cbc',
    500: '#99229f',
    950: '#000000',
  },
}
SCSS
$custom: #99229f;
$custom-light: #bb6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#99229f",
  "rgb": {
    "r": 153,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 297.12,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49777,
    "c": 0.20499,
    "h": 325.9
  },
  "luminance": 0.1042
}

Semantic roles & 50–950 ramp

primary
#99229F
secondary
#60C15B
accent
#E84048
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #99229F

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

Preview Lab → · Contrast checker → · Palette generator →

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