#9E3CD7#9E3CD7

#9E3CD7 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.5% C 0.228 H 309.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9E3CD7
RGBrgb(158, 60, 215)
HSLhsl(278, 66%, 54%)
HSVhsv(278, 72%, 84%)
CMYKcmyk(26.5%, 72.1%, 0%, 15.7%)
CIE-LABlab(46.19, 64.56, -61.85)
CIE-LCHlch(46.19, 89.41, 316.23°)
OKLaboklab(56.49% 0.1461 -0.1752)
OKLCHoklch(56.49% 0.228 309.8)
XYZxyz(27.9797, 15.4077, 65.7768)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3CD7 #75D73C
analogous
#513CD7 #9E3CD7 #D73CC3
triadic
#9E3CD7 #D79E3C #3CD79E
tetradic
#9E3CD7 #D7513C #75D73C #3CC3D7
square
#9E3CD7 #D7513C #75D73C #3CC3D7
split-complementary
#9E3CD7 #C3D73C #3CD751
monochromatic
#5A1A7F #7E24B1 #9E3CD7 #B76FE1 #D1A2EC

Accessibility & contrast

On white

5.15
#9E3CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9E3CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3CD7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3CD7#FFFFFF#000000##FFFFFF
##9E3CD71.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#196FD4
Tritanopia (blue-blind)
#965F86
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9e3cd7;
/* rgb */ color: rgb(158, 60, 215);
/* oklch */ color: oklch(56.5% 0.228 309.8);
Tailwind
colors: {
  custom: {
    50: '#c07ae4',
    500: '#9e3cd7',
    950: '#000000',
  },
}
SCSS
$custom: #9e3cd7;
$custom-light: #c07ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3cd7",
  "rgb": {
    "r": 158,
    "g": 60,
    "b": 215
  },
  "hsl": {
    "h": 277.935,
    "s": 65.957,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56485,
    "c": 0.22813,
    "h": 309.8
  },
  "luminance": 0.15407
}

Semantic roles & 50–950 ramp

primary
#9E3CD7
secondary
#AFD896
accent
#E93F7D
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9E3CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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