#9E4DE2#9E4DE2

#9E4DE2 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.1% C 0.219 H 305.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9E4DE2
RGBrgb(158, 77, 226)
HSLhsl(273, 72%, 59%)
HSVhsv(273, 66%, 89%)
CMYKcmyk(30.1%, 65.9%, 0%, 11.4%)
CIE-LABlab(49.58, 59.57, -62.63)
CIE-LCHlch(49.58, 86.43, 313.56°)
OKLaboklab(59.14% 0.1274 -0.1776)
OKLCHoklch(59.14% 0.219 305.6)
XYZxyz(30.4789, 18.0681, 73.8186)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4DE2 #91E24D
analogous
#534DE2 #9E4DE2 #E24DDC
triadic
#9E4DE2 #E29E4D #4DE29E
tetradic
#9E4DE2 #E2534D #91E24D #4DDCE2
square
#9E4DE2 #E2534D #91E24D #4DDCE2
split-complementary
#9E4DE2 #DCE24D #4DE253
monochromatic
#60199B #8022D0 #9E4DE2 #BB82EB #D7B6F3

Accessibility & contrast

On white

4.55
#9E4DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9E4DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4DE2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4DE2#FFFFFF#000000##000000
##9E4DE21.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#2276DF
Tritanopia (blue-blind)
#926E91
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9e4de2;
/* rgb */ color: rgb(158, 77, 226);
/* oklch */ color: oklch(59.1% 0.219 305.6);
Tailwind
colors: {
  custom: {
    50: '#bf84ec',
    500: '#9e4de2',
    950: '#000000',
  },
}
SCSS
$custom: #9e4de2;
$custom-light: #bf84ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4de2",
  "rgb": {
    "r": 158,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 272.617,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59141,
    "c": 0.21856,
    "h": 305.6
  },
  "luminance": 0.18068
}

Semantic roles & 50–950 ramp

primary
#9E4DE2
secondary
#C3E2A8
accent
#EF398C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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