#9C4CE5#9C4CE5

#9C4CE5 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.0% C 0.222 H 304.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9C4CE5
RGBrgb(156, 76, 229)
HSLhsl(271, 75%, 60%)
HSVhsv(271, 67%, 90%)
CMYKcmyk(31.9%, 66.8%, 0%, 10.2%)
CIE-LABlab(49.37, 60.31, -64.68)
CIE-LCHlch(49.37, 88.44, 313.00°)
OKLaboklab(59% 0.1255 -0.1837)
OKLCHoklch(59% 0.222 304.3)
XYZxyz(30.4344, 17.8941, 75.9641)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4CE5 #95E54C
analogous
#504CE5 #9C4CE5 #E54CE1
triadic
#9C4CE5 #E59C4C #4CE59C
tetradic
#9C4CE5 #E5504C #95E54C #4CE1E5
square
#9C4CE5 #E5504C #95E54C #4CE1E5
split-complementary
#9C4CE5 #E1E54C #4CE550
monochromatic
#5E179F #7E1FD5 #9C4CE5 #BA81ED #D7B7F5

Accessibility & contrast

On white

4.59
#9C4CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9C4CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4CE5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4CE5#FFFFFF#000000##FFFFFF
##9C4CE51.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#1175E2
Tritanopia (blue-blind)
#8E6E93
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9c4ce5;
/* rgb */ color: rgb(156, 76, 229);
/* oklch */ color: oklch(59.0% 0.222 304.3);
Tailwind
colors: {
  custom: {
    50: '#be83ee',
    500: '#9c4ce5',
    950: '#000000',
  },
}
SCSS
$custom: #9c4ce5;
$custom-light: #be83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4ce5",
  "rgb": {
    "r": 156,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 271.373,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59,
    "c": 0.22248,
    "h": 304.3
  },
  "luminance": 0.17894
}

Semantic roles & 50–950 ramp

primary
#9C4CE5
secondary
#C5E4A9
accent
#F13790
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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