#9E279F#9E279F

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

Color values

HEX#9E279F
RGBrgb(158, 39, 159)
HSLhsl(300, 61%, 39%)
HSVhsv(300, 75%, 62%)
CMYKcmyk(0.6%, 75.5%, 0%, 37.6%)
CIE-LABlab(39.96, 61.48, -39.01)
CIE-LCHlch(39.96, 72.81, 327.60°)
OKLaboklab(50.91% 0.1711 -0.1082)
OKLCHoklch(50.91% 0.202 327.7)
XYZxyz(21.0838, 11.2249, 33.8503)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E279F #289F27
analogous
#62279F #9E279F #9F2764
triadic
#9E279F #9F9E27 #279F9E
tetradic
#9E279F #9F6227 #289F27 #27649F
square
#9E279F #9F6227 #289F27 #27649F
split-complementary
#9E279F #649F27 #279F62
monochromatic
#3C0F3D #6D1B6E #9E279F #CC36CE #D967DA

Accessibility & contrast

On white

6.47
#9E279F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E279F
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E279F#FFFFFF#000000##FFFFFF
##9E279F1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0854A2
Deuteranopia (green-blind)
#48639C
Tritanopia (blue-blind)
#A33B62
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e279f;
/* rgb */ color: rgb(158, 39, 159);
/* oklch */ color: oklch(50.9% 0.202 327.7);
Tailwind
colors: {
  custom: {
    50: '#be6fbc',
    500: '#9e279f',
    950: '#000000',
  },
}
SCSS
$custom: #9e279f;
$custom-light: #be6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e279f",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 299.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50914,
    "c": 0.20243,
    "h": 327.7
  },
  "luminance": 0.11223
}

Semantic roles & 50–950 ramp

primary
#9E279F
secondary
#63C062
accent
#E44445
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E279F

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

Preview Lab → · Contrast checker → · Palette generator →

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