#9E4DE7#9E4DE7

#9E4DE7 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.5% C 0.224 H 304.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9E4DE7
RGBrgb(158, 77, 231)
HSLhsl(272, 76%, 60%)
HSVhsv(272, 67%, 91%)
CMYKcmyk(31.6%, 66.7%, 0%, 9.4%)
CIE-LABlab(49.91, 60.71, -64.91)
CIE-LCHlch(49.91, 88.88, 313.08°)
OKLaboklab(59.49% 0.1269 -0.1843)
OKLCHoklch(59.49% 0.224 304.5)
XYZxyz(31.1750, 18.3465, 77.4847)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4DE7 #96E74D
analogous
#514DE7 #9E4DE7 #E74DE3
triadic
#9E4DE7 #E79E4D #4DE79E
tetradic
#9E4DE7 #E7514D #96E74D #4DE3E7
square
#9E4DE7 #E7514D #96E74D #4DE3E7
split-complementary
#9E4DE7 #E3E74D #4DE751
monochromatic
#6016A4 #801DD9 #9E4DE7 #BB83EE #D9B9F6

Accessibility & contrast

On white

4.50
#9E4DE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#9E4DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4DE7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4DE7#FFFFFF#000000##000000
##9E4DE71.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#1577E4
Tritanopia (blue-blind)
#906F94
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e4de7;
/* rgb */ color: rgb(158, 77, 231);
/* oklch */ color: oklch(59.5% 0.224 304.5);
Tailwind
colors: {
  custom: {
    50: '#c084ef',
    500: '#9e4de7',
    950: '#000000',
  },
}
SCSS
$custom: #9e4de7;
$custom-light: #c084ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4de7",
  "rgb": {
    "r": 158,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 271.558,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59487,
    "c": 0.22375,
    "h": 304.5
  },
  "luminance": 0.18346
}

Semantic roles & 50–950 ramp

primary
#9E4DE7
secondary
#C6E5AA
accent
#D80D6D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E4DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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