#9E3EC8#9E3EC8

#9E3EC8 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.212 H 313.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9E3EC8
RGBrgb(158, 62, 200)
HSLhsl(282, 56%, 51%)
HSVhsv(282, 69%, 78%)
CMYKcmyk(21%, 69%, 0%, 21.6%)
CIE-LABlab(45.48, 60.61, -54.36)
CIE-LCHlch(45.48, 81.42, 318.11°)
OKLaboklab(55.66% 0.1459 -0.1532)
OKLCHoklch(55.66% 0.212 313.6)
XYZxyz(26.2467, 14.8853, 56.1229)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3EC8 #68C83E
analogous
#593EC8 #9E3EC8 #C83EAD
triadic
#9E3EC8 #C89E3E #3EC89E
tetradic
#9E3EC8 #C8593E #68C83E #3EADC8
square
#9E3EC8 #C8593E #68C83E #3EADC8
split-complementary
#9E3EC8 #ADC83E #3EC859
monochromatic
#551F6D #7A2D9C #9E3EC8 #B66ED6 #CE9DE3

Accessibility & contrast

On white

5.28
#9E3EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9E3EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3EC8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3EC8#FFFFFF#000000##FFFFFF
##9E3EC81.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#356EC5
Tritanopia (blue-blind)
#9A5A7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e3ec8;
/* rgb */ color: rgb(158, 62, 200);
/* oklch */ color: oklch(55.7% 0.212 313.6);
Tailwind
colors: {
  custom: {
    50: '#bf7bd9',
    500: '#9e3ec8',
    950: '#000000',
  },
}
SCSS
$custom: #9e3ec8;
$custom-light: #bf7bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3ec8",
  "rgb": {
    "r": 158,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 281.739,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55661,
    "c": 0.21159,
    "h": 313.6
  },
  "luminance": 0.14884
}

Semantic roles & 50–950 ramp

primary
#9E3EC8
secondary
#A5CF92
accent
#DF4977
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E3EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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