#9E4ED8#9E4ED8

#9E4ED8 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.6% C 0.207 H 307.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9E4ED8
RGBrgb(158, 78, 216)
HSLhsl(275, 64%, 58%)
HSVhsv(275, 64%, 85%)
CMYKcmyk(26.9%, 63.9%, 0%, 15.3%)
CIE-LABlab(49.10, 56.84, -57.72)
CIE-LCHlch(49.10, 81.01, 314.56°)
OKLaboklab(58.59% 0.1271 -0.1632)
OKLCHoklch(58.59% 0.207 307.9)
XYZxyz(29.2171, 17.6762, 66.8251)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4ED8 #88D84E
analogous
#594ED8 #9E4ED8 #D84ECD
triadic
#9E4ED8 #D89E4E #4ED89E
tetradic
#9E4ED8 #D8594E #88D84E #4ECDD8
square
#9E4ED8 #D8594E #88D84E #4ECDD8
split-complementary
#9E4ED8 #CDD84E #4ED859
monochromatic
#5F1F8D #802ABF #9E4ED8 #B980E3 #D5B2EE

Accessibility & contrast

On white

4.63
#9E4ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9E4ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4ED8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4ED8#FFFFFF#000000##FFFFFF
##9E4ED81.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#3476D5
Tritanopia (blue-blind)
#956A8C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9e4ed8;
/* rgb */ color: rgb(158, 78, 216);
/* oklch */ color: oklch(58.6% 0.207 307.9);
Tailwind
colors: {
  custom: {
    50: '#bf84e5',
    500: '#9e4ed8',
    950: '#000000',
  },
}
SCSS
$custom: #9e4ed8;
$custom-light: #bf84e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4ed8",
  "rgb": {
    "r": 158,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 274.783,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5859,
    "c": 0.20682,
    "h": 307.9
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#9E4ED8
secondary
#BCDDA5
accent
#E74187
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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