#9E3CD5#9E3CD5

#9E3CD5 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.3% C 0.226 H 310.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9E3CD5
RGBrgb(158, 60, 213)
HSLhsl(278, 65%, 54%)
HSVhsv(278, 72%, 84%)
CMYKcmyk(25.8%, 71.8%, 0%, 16.5%)
CIE-LABlab(46.05, 64.14, -60.93)
CIE-LCHlch(46.05, 88.47, 316.47°)
OKLaboklab(56.34% 0.1464 -0.1725)
OKLCHoklch(56.34% 0.226 310.3)
XYZxyz(27.7243, 15.3055, 64.4317)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3CD5 #73D53C
analogous
#513CD5 #9E3CD5 #D53CC0
triadic
#9E3CD5 #D59E3C #3CD59E
tetradic
#9E3CD5 #D5513C #73D53C #3CC0D5
square
#9E3CD5 #D5513C #73D53C #3CC0D5
split-complementary
#9E3CD5 #C0D53C #3CD551
monochromatic
#591B7C #7D26AE #9E3CD5 #B76EE0 #D0A1EB

Accessibility & contrast

On white

5.17
#9E3CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9E3CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3CD5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3CD5#FFFFFF#000000##FFFFFF
##9E3CD51.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#1E6FD2
Tritanopia (blue-blind)
#965F85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9e3cd5;
/* rgb */ color: rgb(158, 60, 213);
/* oklch */ color: oklch(56.3% 0.226 310.3);
Tailwind
colors: {
  custom: {
    50: '#bf7ae3',
    500: '#9e3cd5',
    950: '#000000',
  },
}
SCSS
$custom: #9e3cd5;
$custom-light: #bf7ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3cd5",
  "rgb": {
    "r": 158,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 278.431,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56343,
    "c": 0.22625,
    "h": 310.3
  },
  "luminance": 0.15305
}

Semantic roles & 50–950 ramp

primary
#9E3CD5
secondary
#ADD796
accent
#E8407C
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #9E3CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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