#99229D#99229D

#99229D is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.203 H 326.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#99229D
RGBrgb(153, 34, 157)
HSLhsl(298, 64%, 37%)
HSVhsv(298, 78%, 62%)
CMYKcmyk(2.5%, 78.3%, 0%, 38.4%)
CIE-LABlab(38.47, 61.60, -40.23)
CIE-LCHlch(38.47, 73.57, 326.85°)
OKLaboklab(49.65% 0.1699 -0.1118)
OKLCHoklch(49.65% 0.203 326.6)
XYZxyz(19.7944, 10.3521, 32.8473)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99229D #269D22
analogous
#5C229D #99229D #9D2263
triadic
#99229D #9D9922 #229D99
tetradic
#99229D #9D5C22 #269D22 #22639D
square
#99229D #9D5C22 #269D22 #22639D
split-complementary
#99229D #639D22 #229D5C
monochromatic
#370C38 #68176B #99229D #CA2DCF #D85DDC

Accessibility & contrast

On white

6.84
#99229D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#99229D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #99229D
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99229D#FFFFFF#000000##FFFFFF
##99229D1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#42609A
Tritanopia (blue-blind)
#9D385F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #99229d;
/* rgb */ color: rgb(153, 34, 157);
/* oklch */ color: oklch(49.7% 0.203 326.6);
Tailwind
colors: {
  custom: {
    50: '#bb6cba',
    500: '#99229d',
    950: '#000000',
  },
}
SCSS
$custom: #99229d;
$custom-light: #bb6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#99229d",
  "rgb": {
    "r": 153,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 298.049,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49653,
    "c": 0.20344,
    "h": 326.6
  },
  "luminance": 0.10351
}

Semantic roles & 50–950 ramp

primary
#99229D
secondary
#5EC15A
accent
#E74046
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #99229D

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

Preview Lab → · Contrast checker → · Palette generator →

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