#9C4EED#9C4EED

#9C4EED is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.8% C 0.228 H 302.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9C4EED
RGBrgb(156, 78, 237)
HSLhsl(269, 82%, 62%)
HSVhsv(269, 67%, 93%)
CMYKcmyk(34.2%, 67.1%, 0%, 7.1%)
CIE-LABlab(50.25, 61.24, -67.76)
CIE-LCHlch(50.25, 91.33, 312.11°)
OKLaboklab(59.81% 0.1225 -0.1927)
OKLCHoklch(59.81% 0.228 302.4)
XYZxyz(31.7172, 18.6311, 82.0295)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4EED #9FED4E
analogous
#4E50ED #9C4EED #EB4EED
triadic
#9C4EED #ED9C4E #4EED9C
tetradic
#9C4EED #ED4E50 #9FED4E #4EEDEB
square
#9C4EED #ED4E50 #9FED4E #4EEDEB
split-complementary
#9C4EED #EDEB4E #50ED4E
monochromatic
#5F12AF #7D17E6 #9C4EED #BB86F3 #DABDF8

Accessibility & contrast

On white

4.44
#9C4EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9C4EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C4EED
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4EED#FFFFFF#000000##000000
##9C4EED1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#0077EA
Tritanopia (blue-blind)
#8B7297
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9c4eed;
/* rgb */ color: rgb(156, 78, 237);
/* oklch */ color: oklch(59.8% 0.228 302.4);
Tailwind
colors: {
  custom: {
    50: '#bf85f4',
    500: '#9c4eed',
    950: '#000000',
  },
}
SCSS
$custom: #9c4eed;
$custom-light: #bf85f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4eed",
  "rgb": {
    "r": 156,
    "g": 78,
    "b": 237
  },
  "hsl": {
    "h": 269.434,
    "s": 81.538,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59807,
    "c": 0.22836,
    "h": 302.4
  },
  "luminance": 0.18631
}

Semantic roles & 50–950 ramp

primary
#9C4EED
secondary
#CCE9AE
accent
#DE0875
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9C4EED

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

Preview Lab → · Contrast checker → · Palette generator →

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