#9E279E#9E279E

#9E279E is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.202 H 328.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9E279E
RGBrgb(158, 39, 158)
HSLhsl(300, 60%, 39%)
HSVhsv(300, 75%, 62%)
CMYKcmyk(0%, 75.3%, 0%, 38%)
CIE-LABlab(39.90, 61.31, -38.50)
CIE-LCHlch(39.90, 72.40, 327.88°)
OKLaboklab(50.86% 0.1711 -0.1067)
OKLCHoklch(50.86% 0.202 328)
XYZxyz(20.9974, 11.1903, 33.3951)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E279E #279E27
analogous
#62279E #9E279E #9E2762
triadic
#9E279E #9E9E27 #279E9E
tetradic
#9E279E #9E6227 #279E27 #27629E
square
#9E279E #9E6227 #279E27 #27629E
split-complementary
#9E279E #629E27 #279E62
monochromatic
#3C0F3C #6D1B6D #9E279E #CD35CD #D966D9

Accessibility & contrast

On white

6.49
#9E279E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9E279E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E279E
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E279E#FFFFFF#000000##FFFFFF
##9E279E1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B54A1
Deuteranopia (green-blind)
#48639B
Tritanopia (blue-blind)
#A33A61
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e279e;
/* rgb */ color: rgb(158, 39, 158);
/* oklch */ color: oklch(50.9% 0.202 328.0);
Tailwind
colors: {
  custom: {
    50: '#be6fbb',
    500: '#9e279e',
    950: '#000000',
  },
}
SCSS
$custom: #9e279e;
$custom-light: #be6fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e279e",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 300,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50855,
    "c": 0.20166,
    "h": 328
  },
  "luminance": 0.11189
}

Semantic roles & 50–950 ramp

primary
#9E279E
secondary
#62BF62
accent
#E44444
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E279E

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

Preview Lab → · Contrast checker → · Palette generator →

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