#9E288E#9E288E

#9E288E is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.189 H 334.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9E288E
RGBrgb(158, 40, 142)
HSLhsl(308, 60%, 39%)
HSVhsv(308, 75%, 62%)
CMYKcmyk(0%, 74.7%, 10.1%, 38%)
CIE-LABlab(39.14, 58.43, -29.99)
CIE-LCHlch(39.14, 65.68, 332.83°)
OKLaboklab(50.03% 0.1697 -0.0821)
OKLCHoklch(50.03% 0.189 334.2)
XYZxyz(19.7420, 10.7414, 26.6195)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E288E #289E38
analogous
#73289E #9E288E #9E2853
triadic
#9E288E #8E9E28 #288E9E
tetradic
#9E288E #9E7328 #289E38 #28539E
square
#9E288E #9E7328 #289E38 #28539E
split-complementary
#9E288E #539E28 #289E73
monochromatic
#3C0F36 #6D1C62 #9E288E #CC37B8 #D968C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E288E#FFFFFF#000000##FFFFFF
##9E288E1.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)
#265191
Deuteranopia (green-blind)
#51628B
Tritanopia (blue-blind)
#A63358
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e288e;
/* rgb */ color: rgb(158, 40, 142);
/* oklch */ color: oklch(50.0% 0.189 334.2);
Tailwind
colors: {
  custom: {
    50: '#be6eaf',
    500: '#9e288e',
    950: '#000000',
  },
}
SCSS
$custom: #9e288e;
$custom-light: #be6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e288e",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 308.136,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5003,
    "c": 0.18854,
    "h": 334.2
  },
  "luminance": 0.1074
}

Semantic roles & 50–950 ramp

primary
#9E288E
secondary
#63BF6F
accent
#E35A45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E288E

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

Preview Lab → · Contrast checker → · Palette generator →

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