#9E229A#9E229A

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

Color values

HEX#9E229A
RGBrgb(158, 34, 154)
HSLhsl(302, 65%, 38%)
HSVhsv(302, 78%, 62%)
CMYKcmyk(0%, 78.5%, 2.5%, 38%)
CIE-LABlab(39.15, 62.15, -37.27)
CIE-LCHlch(39.15, 72.47, 329.05°)
OKLaboklab(50.25% 0.1754 -0.1031)
OKLCHoklch(50.25% 0.203 329.6)
XYZxyz(20.5052, 10.7479, 31.5601)
Luminance0.1075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E229A #229E26
analogous
#64229E #9E229A #9E225C
triadic
#9E229A #9A9E22 #229A9E
tetradic
#9E229A #9E6422 #229E26 #225C9E
square
#9E229A #9E6422 #229E26 #225C9E
split-complementary
#9E229A #5C9E22 #229E64
monochromatic
#390C38 #6C1769 #9E229A #D02DCB #DC5ED8

Accessibility & contrast

On white

6.67
#9E229A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9E229A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E229A
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E229A#FFFFFF#000000##FFFFFF
##9E229A1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09529D
Deuteranopia (green-blind)
#486297
Tritanopia (blue-blind)
#A4355E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e229a;
/* rgb */ color: rgb(158, 34, 154);
/* oklch */ color: oklch(50.2% 0.203 329.6);
Tailwind
colors: {
  custom: {
    50: '#be6db8',
    500: '#9e229a',
    950: '#000000',
  },
}
SCSS
$custom: #9e229a;
$custom-light: #be6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e229a",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 301.935,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50248,
    "c": 0.20346,
    "h": 329.6
  },
  "luminance": 0.10746
}

Semantic roles & 50–950 ramp

primary
#9E229A
secondary
#5BC15E
accent
#E84640
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E229A

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

Preview Lab → · Contrast checker → · Palette generator →

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