#9E288D#9E288D

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

Color values

HEX#9E288D
RGBrgb(158, 40, 141)
HSLhsl(309, 60%, 39%)
HSVhsv(309, 75%, 62%)
CMYKcmyk(0%, 74.7%, 10.8%, 38%)
CIE-LABlab(39.09, 58.28, -29.45)
CIE-LCHlch(39.09, 65.30, 333.19°)
OKLaboklab(49.98% 0.1697 -0.0806)
OKLCHoklch(49.98% 0.188 334.6)
XYZxyz(19.6673, 10.7115, 26.2258)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E288D #289E39
analogous
#74289E #9E288D #9E2852
triadic
#9E288D #8D9E28 #288D9E
tetradic
#9E288D #9E7428 #289E39 #28529E
square
#9E288D #9E7428 #289E39 #28529E
split-complementary
#9E288D #529E28 #289E74
monochromatic
#3C0F36 #6D1C61 #9E288D #CC37B7 #D968C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E288D#FFFFFF#000000##FFFFFF
##9E288D1.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)
#275190
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#A63258
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e288d;
/* rgb */ color: rgb(158, 40, 141);
/* oklch */ color: oklch(50.0% 0.188 334.6);
Tailwind
colors: {
  custom: {
    50: '#be6eae',
    500: '#9e288d',
    950: '#000000',
  },
}
SCSS
$custom: #9e288d;
$custom-light: #be6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#9e288d",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 308.644,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49977,
    "c": 0.18781,
    "h": 334.6
  },
  "luminance": 0.1071
}

Semantic roles & 50–950 ramp

primary
#9E288D
secondary
#63BF70
accent
#E35C45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E288D

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

Preview Lab → · Contrast checker → · Palette generator →

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