#9E4CD8#9E4CD8

#9E4CD8 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.3% C 0.209 H 308.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9E4CD8
RGBrgb(158, 76, 216)
HSLhsl(275, 64%, 57%)
HSVhsv(275, 65%, 85%)
CMYKcmyk(26.9%, 64.8%, 0%, 15.3%)
CIE-LABlab(48.76, 57.79, -58.28)
CIE-LCHlch(48.76, 82.07, 314.76°)
OKLaboklab(58.34% 0.1293 -0.1648)
OKLCHoklch(58.34% 0.21 308.1)
XYZxyz(29.0771, 17.3963, 66.7785)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4CD8 #86D84C
analogous
#584CD8 #9E4CD8 #D84CCC
triadic
#9E4CD8 #D89E4C #4CD89E
tetradic
#9E4CD8 #D8584C #86D84C #4CCCD8
square
#9E4CD8 #D8584C #86D84C #4CCCD8
split-complementary
#9E4CD8 #CCD84C #4CD858
monochromatic
#5E1E8B #8029BE #9E4CD8 #B97EE3 #D4B1EE

Accessibility & contrast

On white

4.69
#9E4CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9E4CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4CD8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4CD8#FFFFFF#000000##FFFFFF
##9E4CD81.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#3175D5
Tritanopia (blue-blind)
#95698C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9e4cd8;
/* rgb */ color: rgb(158, 76, 216);
/* oklch */ color: oklch(58.3% 0.209 308.1);
Tailwind
colors: {
  custom: {
    50: '#bf83e5',
    500: '#9e4cd8',
    950: '#000000',
  },
}
SCSS
$custom: #9e4cd8;
$custom-light: #bf83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4cd8",
  "rgb": {
    "r": 158,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 275.143,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58341,
    "c": 0.2095,
    "h": 308.1
  },
  "luminance": 0.17396
}

Semantic roles & 50–950 ramp

primary
#9E4CD8
secondary
#BBDCA4
accent
#E74186
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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