#9D4EE4#9D4EE4

#9D4EE4 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.3% C 0.219 H 304.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9D4EE4
RGBrgb(157, 78, 228)
HSLhsl(272, 74%, 60%)
HSVhsv(272, 66%, 89%)
CMYKcmyk(31.1%, 65.8%, 0%, 10.6%)
CIE-LABlab(49.76, 59.35, -63.48)
CIE-LCHlch(49.76, 86.90, 313.08°)
OKLaboklab(59.29% 0.1248 -0.1801)
OKLCHoklch(59.29% 0.219 304.7)
XYZxyz(30.6295, 18.2185, 75.2866)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4EE4 #95E44E
analogous
#524EE4 #9D4EE4 #E44EE0
triadic
#9D4EE4 #E49D4E #4EE49D
tetradic
#9D4EE4 #E4524E #95E44E #4EE0E4
square
#9D4EE4 #E4524E #95E44E #4EE0E4
split-complementary
#9D4EE4 #E0E44E #4EE452
monochromatic
#5F189F #7F20D4 #9D4EE4 #BA83EC #D8B8F4

Accessibility & contrast

On white

4.52
#9D4EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9D4EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4EE4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4EE4#FFFFFF#000000##000000
##9D4EE41.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#1D76E1
Tritanopia (blue-blind)
#906F93
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d4ee4;
/* rgb */ color: rgb(157, 78, 228);
/* oklch */ color: oklch(59.3% 0.219 304.7);
Tailwind
colors: {
  custom: {
    50: '#bf85ed',
    500: '#9d4ee4',
    950: '#000000',
  },
}
SCSS
$custom: #9d4ee4;
$custom-light: #bf85ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4ee4",
  "rgb": {
    "r": 157,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 271.6,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.59287,
    "c": 0.21914,
    "h": 304.7
  },
  "luminance": 0.18218
}

Semantic roles & 50–950 ramp

primary
#9D4EE4
secondary
#C5E4AA
accent
#F0388F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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