#9E4CD5#9E4CD5

#9E4CD5 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.1% C 0.206 H 308.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9E4CD5
RGBrgb(158, 76, 213)
HSLhsl(276, 62%, 57%)
HSVhsv(276, 64%, 84%)
CMYKcmyk(25.8%, 64.3%, 0%, 16.5%)
CIE-LABlab(48.56, 57.12, -56.87)
CIE-LCHlch(48.56, 80.60, 315.12°)
OKLaboklab(58.14% 0.1295 -0.1607)
OKLCHoklch(58.14% 0.206 308.9)
XYZxyz(28.6928, 17.2426, 64.7545)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4CD5 #83D54C
analogous
#5A4CD5 #9E4CD5 #D54CC8
triadic
#9E4CD5 #D59E4C #4CD59E
tetradic
#9E4CD5 #D55A4C #83D54C #4CC8D5
square
#9E4CD5 #D55A4C #83D54C #4CC8D5
split-complementary
#9E4CD5 #C8D54C #4CD55A
monochromatic
#5D2087 #802BB9 #9E4CD5 #B97EE1 #D4AFEC

Accessibility & contrast

On white

4.72
#9E4CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9E4CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4CD5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4CD5#FFFFFF#000000##FFFFFF
##9E4CD51.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#3574D2
Tritanopia (blue-blind)
#96688A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e4cd5;
/* rgb */ color: rgb(158, 76, 213);
/* oklch */ color: oklch(58.1% 0.206 308.9);
Tailwind
colors: {
  custom: {
    50: '#bf83e3',
    500: '#9e4cd5',
    950: '#000000',
  },
}
SCSS
$custom: #9e4cd5;
$custom-light: #bf83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4cd5",
  "rgb": {
    "r": 158,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 275.912,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58142,
    "c": 0.20639,
    "h": 308.9
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

primary
#9E4CD5
secondary
#B9DAA2
accent
#E54384
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #9E4CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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