#9E4FD5#9E4FD5

#9E4FD5 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.5% C 0.202 H 308.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9E4FD5
RGBrgb(158, 79, 213)
HSLhsl(275, 61%, 57%)
HSVhsv(275, 63%, 84%)
CMYKcmyk(25.8%, 62.9%, 0%, 16.5%)
CIE-LABlab(49.09, 55.69, -56.03)
CIE-LCHlch(49.09, 79.00, 314.82°)
OKLaboklab(58.52% 0.1261 -0.1582)
OKLCHoklch(58.52% 0.202 308.5)
XYZxyz(28.9044, 17.6656, 64.8250)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4FD5 #86D54F
analogous
#5B4FD5 #9E4FD5 #D54FC9
triadic
#9E4FD5 #D59E4F #4FD59E
tetradic
#9E4FD5 #D55B4F #86D54F #4FC9D5
square
#9E4FD5 #D55B4F #86D54F #4FC9D5
split-complementary
#9E4FD5 #C9D54F #4FD55B
monochromatic
#5E2189 #802CBA #9E4FD5 #B980E1 #D4B2ED

Accessibility & contrast

On white

4.63
#9E4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9E4FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4FD5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4FD5#FFFFFF#000000##FFFFFF
##9E4FD51.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#3976D2
Tritanopia (blue-blind)
#966A8B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9e4fd5;
/* rgb */ color: rgb(158, 79, 213);
/* oklch */ color: oklch(58.5% 0.202 308.5);
Tailwind
colors: {
  custom: {
    50: '#be85e3',
    500: '#9e4fd5',
    950: '#000000',
  },
}
SCSS
$custom: #9e4fd5;
$custom-light: #be85e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4fd5",
  "rgb": {
    "r": 158,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 275.373,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5852,
    "c": 0.20232,
    "h": 308.5
  },
  "luminance": 0.17665
}

Semantic roles & 50–950 ramp

primary
#9E4FD5
secondary
#BBDBA5
accent
#E54385
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #9E4FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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