#9E4EE5#9E4EE5

#9E4EE5 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.5% C 0.220 H 304.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9E4EE5
RGBrgb(158, 78, 229)
HSLhsl(272, 74%, 60%)
HSVhsv(272, 66%, 90%)
CMYKcmyk(31%, 65.9%, 0%, 10.2%)
CIE-LABlab(49.95, 59.78, -63.73)
CIE-LCHlch(49.95, 87.38, 313.17°)
OKLaboklab(59.47% 0.126 -0.1808)
OKLCHoklch(59.47% 0.22 304.9)
XYZxyz(30.9646, 18.3752, 76.0290)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4EE5 #95E54E
analogous
#524EE5 #9E4EE5 #E54EE0
triadic
#9E4EE5 #E59E4E #4EE59E
tetradic
#9E4EE5 #E5524E #95E54E #4EE0E5
square
#9E4EE5 #E5524E #95E54E #4EE0E5
split-complementary
#9E4EE5 #E0E54E #4EE552
monochromatic
#6018A1 #801FD6 #9E4EE5 #BB83ED #D8B9F5

Accessibility & contrast

On white

4.49
#9E4EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9E4EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4EE5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4EE5#FFFFFF#000000##000000
##9E4EE51.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#1D77E2
Tritanopia (blue-blind)
#916F93
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e4ee5;
/* rgb */ color: rgb(158, 78, 229);
/* oklch */ color: oklch(59.5% 0.220 304.9);
Tailwind
colors: {
  custom: {
    50: '#c085ee',
    500: '#9e4ee5',
    950: '#000000',
  },
}
SCSS
$custom: #9e4ee5;
$custom-light: #c085ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4ee5",
  "rgb": {
    "r": 158,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 271.788,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59469,
    "c": 0.22041,
    "h": 304.9
  },
  "luminance": 0.18375
}

Semantic roles & 50–950 ramp

primary
#9E4EE5
secondary
#C6E4AA
accent
#D70F6D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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