#9E4DDD#9E4DDD

#9E4DDD is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.8% C 0.213 H 306.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9E4DDD
RGBrgb(158, 77, 221)
HSLhsl(274, 68%, 58%)
HSVhsv(274, 65%, 87%)
CMYKcmyk(28.5%, 65.2%, 0%, 13.3%)
CIE-LABlab(49.25, 58.44, -60.33)
CIE-LCHlch(49.25, 83.99, 314.09°)
OKLaboklab(58.8% 0.1278 -0.1708)
OKLCHoklch(58.8% 0.213 306.8)
XYZxyz(29.8028, 17.7976, 70.2578)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4DDD #8CDD4D
analogous
#564DDD #9E4DDD #DD4DD4
triadic
#9E4DDD #DD9E4D #4DDD9E
tetradic
#9E4DDD #DD564D #8CDD4D #4DD4DD
square
#9E4DDD #DD564D #8CDD4D #4DD4DD
split-complementary
#9E4DDD #D4DD4D #4DDD56
monochromatic
#5F1C93 #8026C7 #9E4DDD #BA80E7 #D6B4F1

Accessibility & contrast

On white

4.61
#9E4DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9E4DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4DDD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4DDD#FFFFFF#000000##FFFFFF
##9E4DDD1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#2B76DA
Tritanopia (blue-blind)
#946C8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9e4ddd;
/* rgb */ color: rgb(158, 77, 221);
/* oklch */ color: oklch(58.8% 0.213 306.8);
Tailwind
colors: {
  custom: {
    50: '#bf84e8',
    500: '#9e4ddd',
    950: '#000000',
  },
}
SCSS
$custom: #9e4ddd;
$custom-light: #bf84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4ddd",
  "rgb": {
    "r": 158,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 273.75,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.588,
    "c": 0.21336,
    "h": 306.8
  },
  "luminance": 0.17797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E4DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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