#9E4EE2#9E4EE2

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

Color values

HEX#9E4EE2
RGBrgb(158, 78, 226)
HSLhsl(272, 72%, 60%)
HSVhsv(272, 65%, 89%)
CMYKcmyk(30.1%, 65.5%, 0%, 11.4%)
CIE-LABlab(49.75, 59.10, -62.36)
CIE-LCHlch(49.75, 85.91, 313.46°)
OKLaboklab(59.26% 0.1263 -0.1768)
OKLCHoklch(59.26% 0.217 305.5)
XYZxyz(30.5494, 18.2091, 73.8421)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4EE2 #92E24E
analogous
#544EE2 #9E4EE2 #E24EDC
triadic
#9E4EE2 #E29E4E #4EE29E
tetradic
#9E4EE2 #E2544E #92E24E #4EDCE2
square
#9E4EE2 #E2544E #92E24E #4EDCE2
split-complementary
#9E4EE2 #DCE24E #4EE254
monochromatic
#601A9C #8022D1 #9E4EE2 #BB83EB #D8B7F3

Accessibility & contrast

On white

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

On black

4.64
#9E4EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4EE2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4EE2#FFFFFF#000000##000000
##9E4EE21.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#2477DF
Tritanopia (blue-blind)
#926E92
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9e4ee2;
/* rgb */ color: rgb(158, 78, 226);
/* oklch */ color: oklch(59.3% 0.217 305.5);
Tailwind
colors: {
  custom: {
    50: '#bf85ec',
    500: '#9e4ee2',
    950: '#000000',
  },
}
SCSS
$custom: #9e4ee2;
$custom-light: #bf85ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4ee2",
  "rgb": {
    "r": 158,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 272.432,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59263,
    "c": 0.21728,
    "h": 305.5
  },
  "luminance": 0.18209
}

Semantic roles & 50–950 ramp

primary
#9E4EE2
secondary
#C4E3A9
accent
#EF398D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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