#9E4CE7#9E4CE7

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

Color values

HEX#9E4CE7
RGBrgb(158, 76, 231)
HSLhsl(272, 76%, 60%)
HSVhsv(272, 67%, 91%)
CMYKcmyk(31.6%, 67.1%, 0%, 9.4%)
CIE-LABlab(49.75, 61.17, -65.18)
CIE-LCHlch(49.75, 89.39, 313.18°)
OKLaboklab(59.37% 0.1279 -0.1851)
OKLCHoklch(59.37% 0.225 304.6)
XYZxyz(31.1056, 18.2077, 77.4615)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4CE7 #95E74C
analogous
#504CE7 #9E4CE7 #E74CE3
triadic
#9E4CE7 #E79E4C #4CE79E
tetradic
#9E4CE7 #E7504C #95E74C #4CE3E7
square
#9E4CE7 #E7504C #95E74C #4CE3E7
split-complementary
#9E4CE7 #E3E74C #4CE750
monochromatic
#6016A3 #801DD9 #9E4CE7 #BB82EE #D8B8F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E4CE7#FFFFFF#000000##000000
##9E4CE71.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)
#0074EC
Deuteranopia (green-blind)
#1176E4
Tritanopia (blue-blind)
#906F94
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9e4ce7;
/* rgb */ color: rgb(158, 76, 231);
/* oklch */ color: oklch(59.4% 0.225 304.6);
Tailwind
colors: {
  custom: {
    50: '#c084ef',
    500: '#9e4ce7',
    950: '#000000',
  },
}
SCSS
$custom: #9e4ce7;
$custom-light: #c084ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4ce7",
  "rgb": {
    "r": 158,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 271.742,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59368,
    "c": 0.225,
    "h": 304.6
  },
  "luminance": 0.18208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E4CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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