#9E3ECB#9E3ECB

#9E3ECB is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.214 H 312.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9E3ECB
RGBrgb(158, 62, 203)
HSLhsl(281, 58%, 52%)
HSVhsv(281, 69%, 80%)
CMYKcmyk(22.2%, 69.5%, 0%, 20.4%)
CIE-LABlab(45.67, 61.23, -55.79)
CIE-LCHlch(45.67, 82.83, 317.67°)
OKLaboklab(55.86% 0.1456 -0.1574)
OKLCHoklch(55.86% 0.214 312.8)
XYZxyz(26.6007, 15.0269, 57.9876)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3ECB #6BCB3E
analogous
#583ECB #9E3ECB #CB3EB2
triadic
#9E3ECB #CB9E3E #3ECB9E
tetradic
#9E3ECB #CB583E #6BCB3E #3EB2CB
square
#9E3ECB #CB583E #6BCB3E #3EB2CB
split-complementary
#9E3ECB #B2CB3E #3ECB58
monochromatic
#561E70 #7B2BA1 #9E3ECB #B66ED8 #CE9EE5

Accessibility & contrast

On white

5.24
#9E3ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9E3ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3ECB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3ECB#FFFFFF#000000##FFFFFF
##9E3ECB1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#316EC8
Tritanopia (blue-blind)
#995C80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e3ecb;
/* rgb */ color: rgb(158, 62, 203);
/* oklch */ color: oklch(55.9% 0.214 312.8);
Tailwind
colors: {
  custom: {
    50: '#bf7bdc',
    500: '#9e3ecb',
    950: '#000000',
  },
}
SCSS
$custom: #9e3ecb;
$custom-light: #bf7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3ecb",
  "rgb": {
    "r": 158,
    "g": 62,
    "b": 203
  },
  "hsl": {
    "h": 280.851,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55861,
    "c": 0.21444,
    "h": 312.8
  },
  "luminance": 0.15026
}

Semantic roles & 50–950 ramp

primary
#9E3ECB
secondary
#A7D194
accent
#E14778
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E3ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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