#9D4AED#9D4AED

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

Color values

HEX#9D4AED
RGBrgb(157, 74, 237)
HSLhsl(271, 82%, 61%)
HSVhsv(271, 69%, 93%)
CMYKcmyk(33.8%, 68.8%, 0%, 7.1%)
CIE-LABlab(49.71, 63.26, -68.62)
CIE-LCHlch(49.71, 93.33, 312.67°)
OKLaboklab(59.45% 0.1278 -0.1952)
OKLCHoklch(59.45% 0.233 303.2)
XYZxyz(31.6359, 18.1801, 81.9468)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4AED #9AED4A
analogous
#4B4AED #9D4AED #ED4AEC
triadic
#9D4AED #ED9D4A #4AED9D
tetradic
#9D4AED #ED4B4A #9AED4A #4AECED
square
#9D4AED #ED4B4A #9AED4A #4AECED
split-complementary
#9D4AED #ECED4A #4AED4B
monochromatic
#6011AC #7F17E3 #9D4AED #BB82F3 #D9B9F8

Accessibility & contrast

On white

4.53
#9D4AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D4AED#FFFFFF#000000##000000
##9D4AED1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#8D7096
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d4aed;
/* rgb */ color: rgb(157, 74, 237);
/* oklch */ color: oklch(59.4% 0.233 303.2);
Tailwind
colors: {
  custom: {
    50: '#c083f4',
    500: '#9d4aed',
    950: '#000000',
  },
}
SCSS
$custom: #9d4aed;
$custom-light: #c083f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4aed",
  "rgb": {
    "r": 157,
    "g": 74,
    "b": 237
  },
  "hsl": {
    "h": 270.552,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59449,
    "c": 0.23336,
    "h": 303.2
  },
  "luminance": 0.1818
}

Semantic roles & 50–950 ramp

primary
#9D4AED
secondary
#C9E8AB
accent
#DE0771
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D4AED

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

Preview Lab → · Contrast checker → · Palette generator →

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