#9E3ECE#9E3ECE

#9E3ECE is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.1% C 0.217 H 312.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9E3ECE
RGBrgb(158, 62, 206)
HSLhsl(280, 60%, 53%)
HSVhsv(280, 70%, 81%)
CMYKcmyk(23.3%, 69.9%, 0%, 19.2%)
CIE-LABlab(45.87, 61.86, -57.20)
CIE-LCHlch(45.87, 84.25, 317.24°)
OKLaboklab(56.06% 0.1453 -0.1616)
OKLCHoklch(56.06% 0.217 312)
XYZxyz(26.9617, 15.1713, 59.8886)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3ECE #6ECE3E
analogous
#563ECE #9E3ECE #CE3EB6
triadic
#9E3ECE #CE9E3E #3ECE9E
tetradic
#9E3ECE #CE563E #6ECE3E #3EB6CE
square
#9E3ECE #CE563E #6ECE3E #3EB6CE
split-complementary
#9E3ECE #B6CE3E #3ECE56
monochromatic
#571D74 #7C2AA5 #9E3ECE #B76FDA #CFA0E7

Accessibility & contrast

On white

5.21
#9E3ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9E3ECE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3ECE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3ECE#FFFFFF#000000##FFFFFF
##9E3ECE1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#2D6ECB
Tritanopia (blue-blind)
#985D82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9e3ece;
/* rgb */ color: rgb(158, 62, 206);
/* oklch */ color: oklch(56.1% 0.217 312.0);
Tailwind
colors: {
  custom: {
    50: '#bf7bde',
    500: '#9e3ece',
    950: '#000000',
  },
}
SCSS
$custom: #9e3ece;
$custom-light: #bf7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3ece",
  "rgb": {
    "r": 158,
    "g": 62,
    "b": 206
  },
  "hsl": {
    "h": 280,
    "s": 59.504,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56064,
    "c": 0.21729,
    "h": 312
  },
  "luminance": 0.15171
}

Semantic roles & 50–950 ramp

primary
#9E3ECE
secondary
#A9D395
accent
#E3457A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E3ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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