#9E4CD9#9E4CD9

#9E4CD9 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.4% C 0.211 H 307.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9E4CD9
RGBrgb(158, 76, 217)
HSLhsl(275, 65%, 57%)
HSVhsv(275, 65%, 85%)
CMYKcmyk(27.2%, 65%, 0%, 14.9%)
CIE-LABlab(48.82, 58.01, -58.74)
CIE-LCHlch(48.82, 82.56, 314.64°)
OKLaboklab(58.41% 0.1293 -0.1662)
OKLCHoklch(58.41% 0.211 307.9)
XYZxyz(29.2068, 17.4481, 67.4614)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4CD9 #87D94C
analogous
#584CD9 #9E4CD9 #D94CCD
triadic
#9E4CD9 #D99E4C #4CD99E
tetradic
#9E4CD9 #D9584C #87D94C #4CCDD9
square
#9E4CD9 #D9584C #87D94C #4CCDD9
split-complementary
#9E4CD9 #CDD94C #4CD958
monochromatic
#5E1E8D #8029BF #9E4CD9 #B97EE4 #D5B1EE

Accessibility & contrast

On white

4.68
#9E4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9E4CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4CD9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4CD9#FFFFFF#000000##FFFFFF
##9E4CD91.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#3075D6
Tritanopia (blue-blind)
#956A8C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9e4cd9;
/* rgb */ color: rgb(158, 76, 217);
/* oklch */ color: oklch(58.4% 0.211 307.9);
Tailwind
colors: {
  custom: {
    50: '#bf83e5',
    500: '#9e4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #9e4cd9;
$custom-light: #bf83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4cd9",
  "rgb": {
    "r": 158,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 274.894,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58408,
    "c": 0.21053,
    "h": 307.9
  },
  "luminance": 0.17448
}

Semantic roles & 50–950 ramp

primary
#9E4CD9
secondary
#BCDDA4
accent
#E84086
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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