#9E2299#9E2299

#9E2299 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.203 H 329.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9E2299
RGBrgb(158, 34, 153)
HSLhsl(302, 65%, 38%)
HSVhsv(302, 78%, 62%)
CMYKcmyk(0%, 78.5%, 3.2%, 38%)
CIE-LABlab(39.10, 61.99, -36.75)
CIE-LCHlch(39.10, 72.07, 329.34°)
OKLaboklab(50.19% 0.1754 -0.1016)
OKLCHoklch(50.19% 0.203 329.9)
XYZxyz(20.4222, 10.7147, 31.1233)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2299 #229E27
analogous
#65229E #9E2299 #9E225B
triadic
#9E2299 #999E22 #22999E
tetradic
#9E2299 #9E6522 #229E27 #225B9E
square
#9E2299 #9E6522 #229E27 #225B9E
split-complementary
#9E2299 #5B9E22 #229E65
monochromatic
#390C37 #6C1768 #9E2299 #D02DCA #DC5ED7

Accessibility & contrast

On white

6.68
#9E2299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9E2299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2299
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2299#FFFFFF#000000##FFFFFF
##9E22991.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C529C
Deuteranopia (green-blind)
#496296
Tritanopia (blue-blind)
#A4355D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2299;
/* rgb */ color: rgb(158, 34, 153);
/* oklch */ color: oklch(50.2% 0.203 329.9);
Tailwind
colors: {
  custom: {
    50: '#be6db7',
    500: '#9e2299',
    950: '#000000',
  },
}
SCSS
$custom: #9e2299;
$custom-light: #be6db7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2299",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 302.419,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50189,
    "c": 0.20271,
    "h": 329.9
  },
  "luminance": 0.10713
}

Semantic roles & 50–950 ramp

primary
#9E2299
secondary
#5BC15F
accent
#E84740
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2299

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

Preview Lab → · Contrast checker → · Palette generator →

#9E2299 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva