#9C4EE2#9C4EE2

#9C4EE2 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.0% C 0.217 H 304.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9C4EE2
RGBrgb(156, 78, 226)
HSLhsl(272, 72%, 60%)
HSVhsv(272, 65%, 89%)
CMYKcmyk(31%, 65.5%, 0%, 11.4%)
CIE-LABlab(49.51, 58.68, -62.76)
CIE-LCHlch(49.51, 85.92, 313.08°)
OKLaboklab(59.04% 0.1237 -0.1781)
OKLCHoklch(59.04% 0.217 304.8)
XYZxyz(30.1591, 18.0078, 73.8238)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4EE2 #94E24E
analogous
#524EE2 #9C4EE2 #E24EDE
triadic
#9C4EE2 #E29C4E #4EE29C
tetradic
#9C4EE2 #E2524E #94E24E #4EDEE2
square
#9C4EE2 #E2524E #94E24E #4EDEE2
split-complementary
#9C4EE2 #DEE24E #4EE252
monochromatic
#5E1A9C #7E22D1 #9C4EE2 #B983EB #D7B7F3

Accessibility & contrast

On white

4.56
#9C4EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9C4EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C4EE2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4EE2#FFFFFF#000000##000000
##9C4EE21.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#2076DF
Tritanopia (blue-blind)
#8F6E92
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9c4ee2;
/* rgb */ color: rgb(156, 78, 226);
/* oklch */ color: oklch(59.0% 0.217 304.8);
Tailwind
colors: {
  custom: {
    50: '#be84ec',
    500: '#9c4ee2',
    950: '#000000',
  },
}
SCSS
$custom: #9c4ee2;
$custom-light: #be84ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4ee2",
  "rgb": {
    "r": 156,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 271.622,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59035,
    "c": 0.2168,
    "h": 304.8
  },
  "luminance": 0.18008
}

Semantic roles & 50–950 ramp

primary
#9C4EE2
secondary
#C4E3A9
accent
#EF398F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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