#9E4DE5#9E4DE5

#9E4DE5 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.3% C 0.222 H 305.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9E4DE5
RGBrgb(158, 77, 229)
HSLhsl(272, 75%, 60%)
HSVhsv(272, 66%, 90%)
CMYKcmyk(31%, 66.4%, 0%, 10.2%)
CIE-LABlab(49.78, 60.25, -64.00)
CIE-LCHlch(49.78, 87.90, 313.27°)
OKLaboklab(59.35% 0.1271 -0.1816)
OKLCHoklch(59.35% 0.222 305)
XYZxyz(30.8941, 18.2342, 76.0055)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4DE5 #94E54D
analogous
#524DE5 #9E4DE5 #E54DE0
triadic
#9E4DE5 #E59E4D #4DE59E
tetradic
#9E4DE5 #E5524D #94E54D #4DE0E5
square
#9E4DE5 #E5524D #94E54D #4DE0E5
split-complementary
#9E4DE5 #E0E54D #4DE552
monochromatic
#6017A0 #801FD6 #9E4DE5 #BB82ED #D8B8F5

Accessibility & contrast

On white

4.52
#9E4DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9E4DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4DE5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4DE5#FFFFFF#000000##000000
##9E4DE51.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#1B77E2
Tritanopia (blue-blind)
#916F93
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9e4de5;
/* rgb */ color: rgb(158, 77, 229);
/* oklch */ color: oklch(59.3% 0.222 305.0);
Tailwind
colors: {
  custom: {
    50: '#c084ee',
    500: '#9e4de5',
    950: '#000000',
  },
}
SCSS
$custom: #9e4de5;
$custom-light: #c084ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4de5",
  "rgb": {
    "r": 158,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 271.974,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.59348,
    "c": 0.22168,
    "h": 305
  },
  "luminance": 0.18234
}

Semantic roles & 50–950 ramp

primary
#9E4DE5
secondary
#C5E4AA
accent
#F1378E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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