#9E3CD1#9E3CD1

#9E3CD1 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.1% C 0.222 H 311.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9E3CD1
RGBrgb(158, 60, 209)
HSLhsl(279, 62%, 53%)
HSVhsv(279, 71%, 82%)
CMYKcmyk(24.4%, 71.3%, 0%, 18%)
CIE-LABlab(45.78, 63.30, -59.07)
CIE-LCHlch(45.78, 86.58, 316.98°)
OKLaboklab(56.06% 0.147 -0.167)
OKLCHoklch(56.06% 0.222 311.3)
XYZxyz(27.2229, 15.1050, 61.7907)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3CD1 #6FD13C
analogous
#533CD1 #9E3CD1 #D13CBA
triadic
#9E3CD1 #D19E3C #3CD19E
tetradic
#9E3CD1 #D1533C #6FD13C #3CBAD1
square
#9E3CD1 #D1533C #6FD13C #3CBAD1
split-complementary
#9E3CD1 #BAD13C #3CD153
monochromatic
#581C77 #7C28A8 #9E3CD1 #B76EDD #CF9FE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E3CD1#FFFFFF#000000##FFFFFF
##9E3CD11.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)
#0068D5
Deuteranopia (green-blind)
#266ECE
Tritanopia (blue-blind)
#985D83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e3cd1;
/* rgb */ color: rgb(158, 60, 209);
/* oklch */ color: oklch(56.1% 0.222 311.3);
Tailwind
colors: {
  custom: {
    50: '#bf7ae0',
    500: '#9e3cd1',
    950: '#000000',
  },
}
SCSS
$custom: #9e3cd1;
$custom-light: #bf7ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3cd1",
  "rgb": {
    "r": 158,
    "g": 60,
    "b": 209
  },
  "hsl": {
    "h": 279.463,
    "s": 61.826,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56064,
    "c": 0.22249,
    "h": 311.3
  },
  "luminance": 0.15104
}

Semantic roles & 50–950 ramp

primary
#9E3CD1
secondary
#AAD594
accent
#E5437A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E3CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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