#99229E#99229E

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

Color values

HEX#99229E
RGBrgb(153, 34, 158)
HSLhsl(298, 65%, 38%)
HSVhsv(298, 78%, 62%)
CMYKcmyk(3.2%, 78.5%, 0%, 38%)
CIE-LABlab(38.53, 61.77, -40.73)
CIE-LCHlch(38.53, 73.99, 326.60°)
OKLaboklab(49.72% 0.1699 -0.1133)
OKLCHoklch(49.72% 0.204 326.3)
XYZxyz(19.8801, 10.3864, 33.2988)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99229E #279E22
analogous
#5B229E #99229E #9E2265
triadic
#99229E #9E9922 #229E99
tetradic
#99229E #9E5B22 #279E22 #22659E
square
#99229E #9E5B22 #279E22 #22659E
split-complementary
#99229E #659E22 #229E5B
monochromatic
#370C39 #68176C #99229E #CA2DD0 #D75EDC

Accessibility & contrast

On white

6.82
#99229E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #99229E
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99229E#FFFFFF#000000##FFFFFF
##99229E1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#41609B
Tritanopia (blue-blind)
#9D3960
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #99229e;
/* rgb */ color: rgb(153, 34, 158);
/* oklch */ color: oklch(49.7% 0.204 326.3);
Tailwind
colors: {
  custom: {
    50: '#bb6cbb',
    500: '#99229e',
    950: '#000000',
  },
}
SCSS
$custom: #99229e;
$custom-light: #bb6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#99229e",
  "rgb": {
    "r": 153,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 297.581,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49715,
    "c": 0.20421,
    "h": 326.3
  },
  "luminance": 0.10385
}

Semantic roles & 50–950 ramp

primary
#99229E
secondary
#5FC15B
accent
#E84047
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #99229E

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

Preview Lab → · Contrast checker → · Palette generator →

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