#9E4CDF#9E4CDF

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

Color values

HEX#9E4CDF
RGBrgb(158, 76, 223)
HSLhsl(273, 70%, 59%)
HSVhsv(273, 66%, 87%)
CMYKcmyk(29.1%, 65.9%, 0%, 12.5%)
CIE-LABlab(49.21, 59.36, -61.52)
CIE-LCHlch(49.21, 85.49, 313.97°)
OKLaboklab(58.81% 0.1288 -0.1743)
OKLCHoklch(58.81% 0.217 306.4)
XYZxyz(30.0014, 17.7660, 71.6464)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4CDF #8DDF4C
analogous
#544CDF #9E4CDF #DF4CD7
triadic
#9E4CDF #DF9E4C #4CDF9E
tetradic
#9E4CDF #DF544C #8DDF4C #4CD7DF
square
#9E4CDF #DF544C #8DDF4C #4CD7DF
split-complementary
#9E4CDF #D7DF4C #4CDF54
monochromatic
#5F1B96 #8024CA #9E4CDF #BA80E8 #D6B4F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E4CDF#FFFFFF#000000##FFFFFF
##9E4CDF1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#2675DC
Tritanopia (blue-blind)
#936C8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9e4cdf;
/* rgb */ color: rgb(158, 76, 223);
/* oklch */ color: oklch(58.8% 0.217 306.4);
Tailwind
colors: {
  custom: {
    50: '#bf83ea',
    500: '#9e4cdf',
    950: '#000000',
  },
}
SCSS
$custom: #9e4cdf;
$custom-light: #bf83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4cdf",
  "rgb": {
    "r": 158,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 273.469,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58814,
    "c": 0.21673,
    "h": 306.4
  },
  "luminance": 0.17766
}

Semantic roles & 50–950 ramp

primary
#9E4CDF
secondary
#C0E0A6
accent
#EC3B8A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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