#9E3ECD#9E3ECD

#9E3ECD is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.216 H 312.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9E3ECD
RGBrgb(158, 62, 205)
HSLhsl(280, 59%, 52%)
HSVhsv(280, 70%, 80%)
CMYKcmyk(22.9%, 69.8%, 0%, 19.6%)
CIE-LABlab(45.80, 61.65, -56.73)
CIE-LCHlch(45.80, 83.78, 317.38°)
OKLaboklab(56% 0.1454 -0.1602)
OKLCHoklch(56% 0.216 312.2)
XYZxyz(26.8406, 15.1229, 59.2509)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3ECD #6DCD3E
analogous
#573ECD #9E3ECD #CD3EB4
triadic
#9E3ECD #CD9E3E #3ECD9E
tetradic
#9E3ECD #CD573E #6DCD3E #3EB4CD
square
#9E3ECD #CD573E #6DCD3E #3EB4CD
split-complementary
#9E3ECD #B4CD3E #3ECD57
monochromatic
#571E73 #7C2AA3 #9E3ECD #B66FDA #CF9FE6

Accessibility & contrast

On white

5.22
#9E3ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9E3ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3ECD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3ECD#FFFFFF#000000##FFFFFF
##9E3ECD1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#2F6ECA
Tritanopia (blue-blind)
#995C81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e3ecd;
/* rgb */ color: rgb(158, 62, 205);
/* oklch */ color: oklch(56.0% 0.216 312.2);
Tailwind
colors: {
  custom: {
    50: '#bf7bdd',
    500: '#9e3ecd',
    950: '#000000',
  },
}
SCSS
$custom: #9e3ecd;
$custom-light: #bf7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3ecd",
  "rgb": {
    "r": 158,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 280.28,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55997,
    "c": 0.21634,
    "h": 312.2
  },
  "luminance": 0.15122
}

Semantic roles & 50–950 ramp

primary
#9E3ECD
secondary
#A9D394
accent
#E24679
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E3ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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