#9E4DCA#9E4DCA

#9E4DCA is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.6% C 0.194 H 311.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9E4DCA
RGBrgb(158, 77, 202)
HSLhsl(279, 54%, 55%)
HSVhsv(279, 62%, 79%)
CMYKcmyk(21.8%, 61.9%, 0%, 20.8%)
CIE-LABlab(48.06, 54.23, -51.37)
CIE-LCHlch(48.06, 74.70, 316.55°)
OKLaboklab(57.56% 0.1288 -0.1446)
OKLCHoklch(57.56% 0.194 311.7)
XYZxyz(27.4132, 16.8418, 57.6724)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4DCA #79CA4D
analogous
#604DCA #9E4DCA #CA4DB8
triadic
#9E4DCA #CA9E4D #4DCA9E
tetradic
#9E4DCA #CA604D #79CA4D #4DB8CA
square
#9E4DCA #CA604D #79CA4D #4DB8CA
split-complementary
#9E4DCA #B8CA4D #4DCA60
monochromatic
#5B2479 #7E32A8 #9E4DCA #B87CD8 #D1ABE6

Accessibility & contrast

On white

4.81
#9E4DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9E4DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4DCA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4DCA#FFFFFF#000000##FFFFFF
##9E4DCA1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186ECE
Deuteranopia (green-blind)
#4274C7
Tritanopia (blue-blind)
#996584
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9e4dca;
/* rgb */ color: rgb(158, 77, 202);
/* oklch */ color: oklch(57.6% 0.194 311.7);
Tailwind
colors: {
  custom: {
    50: '#be83db',
    500: '#9e4dca',
    950: '#000000',
  },
}
SCSS
$custom: #9e4dca;
$custom-light: #be83db;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4dca",
  "rgb": {
    "r": 158,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 278.88,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5756,
    "c": 0.19362,
    "h": 311.7
  },
  "luminance": 0.16841
}

Semantic roles & 50–950 ramp

primary
#9E4DCA
secondary
#B2D49F
accent
#DD4A7E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9E4DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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