#9E288C#9E288C

#9E288C is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.187 H 335.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9E288C
RGBrgb(158, 40, 140)
HSLhsl(309, 60%, 39%)
HSVhsv(309, 75%, 62%)
CMYKcmyk(0%, 74.7%, 11.4%, 38%)
CIE-LABlab(39.04, 58.13, -28.92)
CIE-LCHlch(39.04, 64.92, 333.55°)
OKLaboklab(49.92% 0.1696 -0.079)
OKLCHoklch(49.92% 0.187 335)
XYZxyz(19.5932, 10.6819, 25.8358)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E288C #289E3A
analogous
#75289E #9E288C #9E2851
triadic
#9E288C #8C9E28 #288C9E
tetradic
#9E288C #9E7528 #289E3A #28519E
square
#9E288C #9E7528 #289E3A #28519E
split-complementary
#9E288C #519E28 #289E75
monochromatic
#3C0F35 #6D1C61 #9E288C #CC37B6 #D968C7

Accessibility & contrast

On white

6.70
#9E288C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E288C
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E288C#FFFFFF#000000##FFFFFF
##9E288C1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27518F
Deuteranopia (green-blind)
#526289
Tritanopia (blue-blind)
#A63257
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e288c;
/* rgb */ color: rgb(158, 40, 140);
/* oklch */ color: oklch(49.9% 0.187 335.0);
Tailwind
colors: {
  custom: {
    50: '#be6eae',
    500: '#9e288c',
    950: '#000000',
  },
}
SCSS
$custom: #9e288c;
$custom-light: #be6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#9e288c",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 309.153,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49923,
    "c": 0.18709,
    "h": 335
  },
  "luminance": 0.1068
}

Semantic roles & 50–950 ramp

primary
#9E288C
secondary
#63BF71
accent
#E35D45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E288C

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

Preview Lab → · Contrast checker → · Palette generator →

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