#9E4DDC#9E4DDC

#9E4DDC is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.7% C 0.212 H 307.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9E4DDC
RGBrgb(158, 77, 220)
HSLhsl(274, 67%, 58%)
HSVhsv(274, 65%, 86%)
CMYKcmyk(28.2%, 65%, 0%, 13.7%)
CIE-LABlab(49.18, 58.21, -59.86)
CIE-LCHlch(49.18, 83.50, 314.20°)
OKLaboklab(58.73% 0.1279 -0.1695)
OKLCHoklch(58.73% 0.212 307)
XYZxyz(29.6700, 17.7445, 69.5583)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4DDC #8BDC4D
analogous
#564DDC #9E4DDC #DC4DD2
triadic
#9E4DDC #DC9E4D #4DDC9E
tetradic
#9E4DDC #DC564D #8BDC4D #4DD2DC
square
#9E4DDC #DC564D #8BDC4D #4DD2DC
split-complementary
#9E4DDC #D2DC4D #4DDC56
monochromatic
#5F1D92 #8027C5 #9E4DDC #BA80E6 #D6B3F0

Accessibility & contrast

On white

4.62
#9E4DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9E4DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4DDC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4DDC#FFFFFF#000000##FFFFFF
##9E4DDC1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#2D76D9
Tritanopia (blue-blind)
#946B8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9e4ddc;
/* rgb */ color: rgb(158, 77, 220);
/* oklch */ color: oklch(58.7% 0.212 307.0);
Tailwind
colors: {
  custom: {
    50: '#bf84e8',
    500: '#9e4ddc',
    950: '#000000',
  },
}
SCSS
$custom: #9e4ddc;
$custom-light: #bf84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4ddc",
  "rgb": {
    "r": 158,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 273.986,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58732,
    "c": 0.21232,
    "h": 307
  },
  "luminance": 0.17744
}

Semantic roles & 50–950 ramp

primary
#9E4DDC
secondary
#BFDFA6
accent
#EA3E88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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