#9E3DCD#9E3DCD

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

Color values

HEX#9E3DCD
RGBrgb(158, 61, 205)
HSLhsl(280, 59%, 52%)
HSVhsv(280, 70%, 80%)
CMYKcmyk(22.9%, 70.2%, 0%, 19.6%)
CIE-LABlab(45.65, 62.06, -56.97)
CIE-LCHlch(45.65, 84.24, 317.45°)
OKLaboklab(55.89% 0.1464 -0.1609)
OKLCHoklch(55.89% 0.218 312.3)
XYZxyz(26.7867, 15.0151, 59.2329)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3DCD #6CCD3D
analogous
#563DCD #9E3DCD #CD3DB4
triadic
#9E3DCD #CD9E3D #3DCD9E
tetradic
#9E3DCD #CD563D #6CCD3D #3DB4CD
square
#9E3DCD #CD563D #6CCD3D #3DB4CD
split-complementary
#9E3DCD #B4CD3D #3DCD56
monochromatic
#571D72 #7B2AA3 #9E3DCD #B66EDA #CF9EE6

Accessibility & contrast

On white

5.25
#9E3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E3DCD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3DCD#FFFFFF#000000##FFFFFF
##9E3DCD1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e3dcd;
/* rgb */ color: rgb(158, 61, 205);
/* oklch */ color: oklch(55.9% 0.218 312.3);
Tailwind
colors: {
  custom: {
    50: '#bf7bdd',
    500: '#9e3dcd',
    950: '#000000',
  },
}
SCSS
$custom: #9e3dcd;
$custom-light: #bf7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3dcd",
  "rgb": {
    "r": 158,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 280.417,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55892,
    "c": 0.21754,
    "h": 312.3
  },
  "luminance": 0.15014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E3DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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