#9E2E90#9E2E90

#9E2E90 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.183 H 333.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9E2E90
RGBrgb(158, 46, 144)
HSLhsl(308, 55%, 40%)
HSVhsv(308, 71%, 62%)
CMYKcmyk(0%, 70.9%, 8.9%, 38%)
CIE-LABlab(39.98, 56.66, -29.89)
CIE-LCHlch(39.98, 64.06, 332.19°)
OKLaboklab(50.67% 0.1638 -0.0819)
OKLCHoklch(50.67% 0.183 333.4)
XYZxyz(20.1117, 11.2384, 27.4901)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E90 #2E9E3C
analogous
#742E9E #9E2E90 #9E2E58
triadic
#9E2E90 #909E2E #2E909E
tetradic
#9E2E90 #9E742E #2E9E3C #2E589E
square
#9E2E90 #9E742E #2E9E3C #2E589E
split-complementary
#9E2E90 #589E2E #2E9E74
monochromatic
#3F123A #6F2065 #9E2E90 #C841B7 #D671C9

Accessibility & contrast

On white

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

On black

3.25
#9E2E90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9E2E90#FFFFFF#000000##FFFFFF
##9E2E901.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5493
Deuteranopia (green-blind)
#53648D
Tritanopia (blue-blind)
#A5385B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2e90;
/* rgb */ color: rgb(158, 46, 144);
/* oklch */ color: oklch(50.7% 0.183 333.4);
Tailwind
colors: {
  custom: {
    50: '#be71b1',
    500: '#9e2e90',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e90;
$custom-light: #be71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e90",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 307.5,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.50667,
    "c": 0.18308,
    "h": 333.4
  },
  "luminance": 0.11237
}

Semantic roles & 50–950 ramp

primary
#9E2E90
secondary
#6BBD75
accent
#DE5C4A
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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