#9E279D#9E279D

#9E279D is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.201 H 328.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9E279D
RGBrgb(158, 39, 157)
HSLhsl(301, 60%, 39%)
HSVhsv(301, 75%, 62%)
CMYKcmyk(0%, 75.3%, 0.6%, 38%)
CIE-LABlab(39.84, 61.15, -37.99)
CIE-LCHlch(39.84, 71.99, 328.15°)
OKLaboklab(50.8% 0.1711 -0.1052)
OKLCHoklch(50.8% 0.201 328.4)
XYZxyz(20.9116, 11.1560, 32.9437)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E279D #279E28
analogous
#63279E #9E279D #9E2761
triadic
#9E279D #9D9E27 #279D9E
tetradic
#9E279D #9E6327 #279E28 #27619E
square
#9E279D #9E6327 #279E28 #27619E
split-complementary
#9E279D #619E27 #279E63
monochromatic
#3C0F3B #6D1B6C #9E279D #CD35CC #D966D8

Accessibility & contrast

On white

6.50
#9E279D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9E279D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E279D
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E279D#FFFFFF#000000##FFFFFF
##9E279D1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E54A0
Deuteranopia (green-blind)
#49639A
Tritanopia (blue-blind)
#A33A60
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e279d;
/* rgb */ color: rgb(158, 39, 157);
/* oklch */ color: oklch(50.8% 0.201 328.4);
Tailwind
colors: {
  custom: {
    50: '#be6fba',
    500: '#9e279d',
    950: '#000000',
  },
}
SCSS
$custom: #9e279d;
$custom-light: #be6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#9e279d",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 300.504,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50795,
    "c": 0.20089,
    "h": 328.4
  },
  "luminance": 0.11154
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E279D

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

Preview Lab → · Contrast checker → · Palette generator →

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