#9E3ECA#9E3ECA

#9E3ECA is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.8% C 0.213 H 313.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9E3ECA
RGBrgb(158, 62, 202)
HSLhsl(281, 57%, 52%)
HSVhsv(281, 69%, 79%)
CMYKcmyk(21.8%, 69.3%, 0%, 20.8%)
CIE-LABlab(45.61, 61.03, -55.31)
CIE-LCHlch(45.61, 82.36, 317.81°)
OKLaboklab(55.79% 0.1457 -0.156)
OKLCHoklch(55.79% 0.214 313)
XYZxyz(26.4820, 14.9794, 57.3620)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3ECA #6ACA3E
analogous
#583ECA #9E3ECA #CA3EB0
triadic
#9E3ECA #CA9E3E #3ECA9E
tetradic
#9E3ECA #CA583E #6ACA3E #3EB0CA
square
#9E3ECA #CA583E #6ACA3E #3EB0CA
split-complementary
#9E3ECA #B0CA3E #3ECA58
monochromatic
#561F6F #7B2C9F #9E3ECA #B66ED7 #CE9EE4

Accessibility & contrast

On white

5.26
#9E3ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9E3ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3ECA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3ECA#FFFFFF#000000##FFFFFF
##9E3ECA1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#326EC7
Tritanopia (blue-blind)
#995B80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e3eca;
/* rgb */ color: rgb(158, 62, 202);
/* oklch */ color: oklch(55.8% 0.213 313.0);
Tailwind
colors: {
  custom: {
    50: '#bf7bdb',
    500: '#9e3eca',
    950: '#000000',
  },
}
SCSS
$custom: #9e3eca;
$custom-light: #bf7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3eca",
  "rgb": {
    "r": 158,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 281.143,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55794,
    "c": 0.2135,
    "h": 313
  },
  "luminance": 0.14979
}

Semantic roles & 50–950 ramp

primary
#9E3ECA
secondary
#A6D193
accent
#E04878
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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