#9E288B#9E288B

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

Color values

HEX#9E288B
RGBrgb(158, 40, 139)
HSLhsl(310, 60%, 39%)
HSVhsv(310, 75%, 62%)
CMYKcmyk(0%, 74.7%, 12%, 38%)
CIE-LABlab(38.99, 57.97, -28.39)
CIE-LCHlch(38.99, 64.55, 333.91°)
OKLaboklab(49.87% 0.1695 -0.0775)
OKLCHoklch(49.87% 0.186 335.4)
XYZxyz(19.5198, 10.6525, 25.4492)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E288B #289E3B
analogous
#76289E #9E288B #9E2850
triadic
#9E288B #8B9E28 #288B9E
tetradic
#9E288B #9E7628 #289E3B #28509E
square
#9E288B #9E7628 #289E3B #28509E
split-complementary
#9E288B #509E28 #289E76
monochromatic
#3C0F35 #6D1C60 #9E288B #CC37B4 #D968C7

Accessibility & contrast

On white

6.71
#9E288B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9E288B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E288B
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E288B#FFFFFF#000000##FFFFFF
##9E288B1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28518E
Deuteranopia (green-blind)
#526288
Tritanopia (blue-blind)
#A63157
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e288b;
/* rgb */ color: rgb(158, 40, 139);
/* oklch */ color: oklch(49.9% 0.186 335.4);
Tailwind
colors: {
  custom: {
    50: '#be6ead',
    500: '#9e288b',
    950: '#000000',
  },
}
SCSS
$custom: #9e288b;
$custom-light: #be6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#9e288b",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 309.661,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49871,
    "c": 0.18638,
    "h": 335.4
  },
  "luminance": 0.10651
}

Semantic roles & 50–950 ramp

primary
#9E288B
secondary
#63BF72
accent
#E35E45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E288B

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

Preview Lab → · Contrast checker → · Palette generator →

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