#9D4EEF#9D4EEF

#9D4EEF is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.1% C 0.231 H 302.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9D4EEF
RGBrgb(157, 78, 239)
HSLhsl(269, 83%, 62%)
HSVhsv(269, 67%, 94%)
CMYKcmyk(34.3%, 67.4%, 0%, 6.3%)
CIE-LABlab(50.51, 61.90, -68.46)
CIE-LCHlch(50.51, 92.29, 312.12°)
OKLaboklab(60.06% 0.1235 -0.1948)
OKLCHoklch(60.06% 0.231 302.4)
XYZxyz(32.2053, 18.8488, 83.5861)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4EEF #A0EF4E
analogous
#4E50EF #9D4EEF #EE4EEF
triadic
#9D4EEF #EF9D4E #4EEF9D
tetradic
#9D4EEF #EF4E50 #A0EF4E #4EEFEE
square
#9D4EEF #EF4E50 #A0EF4E #4EEFEE
split-complementary
#9D4EEF #EFEE4E #50EF4E
monochromatic
#6010B2 #7E16EA #9D4EEF #BC86F4 #DBBEF9

Accessibility & contrast

On white

4.40
#9D4EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9D4EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4EEF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4EEF#FFFFFF#000000##000000
##9D4EEF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#8C7399
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9d4eef;
/* rgb */ color: rgb(157, 78, 239);
/* oklch */ color: oklch(60.1% 0.231 302.4);
Tailwind
colors: {
  custom: {
    50: '#c085f5',
    500: '#9d4eef',
    950: '#000000',
  },
}
SCSS
$custom: #9d4eef;
$custom-light: #c085f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4eef",
  "rgb": {
    "r": 157,
    "g": 78,
    "b": 239
  },
  "hsl": {
    "h": 269.441,
    "s": 83.42,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60061,
    "c": 0.23064,
    "h": 302.4
  },
  "luminance": 0.18849
}

Semantic roles & 50–950 ramp

primary
#9D4EEF
secondary
#CDEAAF
accent
#E00675
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D4EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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