#9C4EE4#9C4EE4

#9C4EE4 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.2% C 0.219 H 304.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9C4EE4
RGBrgb(156, 78, 228)
HSLhsl(271, 74%, 60%)
HSVhsv(271, 66%, 89%)
CMYKcmyk(31.6%, 65.8%, 0%, 10.6%)
CIE-LABlab(49.64, 59.14, -63.68)
CIE-LCHlch(49.64, 86.90, 312.89°)
OKLaboklab(59.17% 0.1235 -0.1807)
OKLCHoklch(59.17% 0.219 304.3)
XYZxyz(30.4351, 18.1183, 75.2775)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4EE4 #96E44E
analogous
#514EE4 #9C4EE4 #E44EE1
triadic
#9C4EE4 #E49C4E #4EE49C
tetradic
#9C4EE4 #E4514E #96E44E #4EE1E4
square
#9C4EE4 #E4514E #96E44E #4EE1E4
split-complementary
#9C4EE4 #E1E44E #4EE451
monochromatic
#5E189F #7E20D4 #9C4EE4 #BA83EC #D7B8F4

Accessibility & contrast

On white

4.54
#9C4EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9C4EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C4EE4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4EE4#FFFFFF#000000##000000
##9C4EE41.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#1B76E1
Tritanopia (blue-blind)
#8F6F93
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9c4ee4;
/* rgb */ color: rgb(156, 78, 228);
/* oklch */ color: oklch(59.2% 0.219 304.3);
Tailwind
colors: {
  custom: {
    50: '#be84ed',
    500: '#9c4ee4',
    950: '#000000',
  },
}
SCSS
$custom: #9c4ee4;
$custom-light: #be84ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4ee4",
  "rgb": {
    "r": 156,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 271.2,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.59173,
    "c": 0.2189,
    "h": 304.3
  },
  "luminance": 0.18118
}

Semantic roles & 50–950 ramp

primary
#9C4EE4
secondary
#C6E4AA
accent
#F03890
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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