#9E2393#9E2393

#9E2393 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.197 H 332.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9E2393
RGBrgb(158, 35, 147)
HSLhsl(305, 64%, 38%)
HSVhsv(305, 78%, 62%)
CMYKcmyk(0%, 77.8%, 7%, 38%)
CIE-LABlab(38.86, 60.76, -33.48)
CIE-LCHlch(38.86, 69.37, 331.15°)
OKLaboklab(49.92% 0.1745 -0.0921)
OKLCHoklch(49.92% 0.197 332.2)
XYZxyz(19.9681, 10.5794, 28.5885)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2393 #239E2E
analogous
#6B239E #9E2393 #9E2355
triadic
#9E2393 #939E23 #23939E
tetradic
#9E2393 #9E6B23 #239E2E #23559E
square
#9E2393 #9E6B23 #239E2E #23559E
split-complementary
#9E2393 #559E23 #239E6B
monochromatic
#3A0D36 #6C1864 #9E2393 #D02EC2 #DC60D1

Accessibility & contrast

On white

6.74
#9E2393 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9E2393 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2393
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2393#FFFFFF#000000##FFFFFF
##9E23931.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195196
Deuteranopia (green-blind)
#4D6290
Tritanopia (blue-blind)
#A5325A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2393;
/* rgb */ color: rgb(158, 35, 147);
/* oklch */ color: oklch(49.9% 0.197 332.2);
Tailwind
colors: {
  custom: {
    50: '#be6db3',
    500: '#9e2393',
    950: '#000000',
  },
}
SCSS
$custom: #9e2393;
$custom-light: #be6db3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2393",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 305.366,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49916,
    "c": 0.19735,
    "h": 332.2
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#9E2393
secondary
#5CC165
accent
#E75041
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2393

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

Preview Lab → · Contrast checker → · Palette generator →

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