#9C4EE5#9C4EE5

#9C4EE5 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.2% C 0.220 H 304.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9C4EE5
RGBrgb(156, 78, 229)
HSLhsl(271, 74%, 60%)
HSVhsv(271, 66%, 90%)
CMYKcmyk(31.9%, 65.9%, 0%, 10.2%)
CIE-LABlab(49.71, 59.37, -64.13)
CIE-LCHlch(49.71, 87.40, 312.79°)
OKLaboklab(59.24% 0.1234 -0.1821)
OKLCHoklch(59.24% 0.22 304.1)
XYZxyz(30.5743, 18.1739, 76.0107)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4EE5 #97E54E
analogous
#504EE5 #9C4EE5 #E54EE3
triadic
#9C4EE5 #E59C4E #4EE59C
tetradic
#9C4EE5 #E5504E #97E54E #4EE3E5
square
#9C4EE5 #E5504E #97E54E #4EE3E5
split-complementary
#9C4EE5 #E3E54E #4EE550
monochromatic
#5F18A1 #7E1FD6 #9C4EE5 #BA83ED #D8B9F5

Accessibility & contrast

On white

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

On black

4.63
#9C4EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C4EE5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4EE5#FFFFFF#000000##000000
##9C4EE51.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#1876E2
Tritanopia (blue-blind)
#8E7093
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9c4ee5;
/* rgb */ color: rgb(156, 78, 229);
/* oklch */ color: oklch(59.2% 0.220 304.1);
Tailwind
colors: {
  custom: {
    50: '#be85ee',
    500: '#9c4ee5',
    950: '#000000',
  },
}
SCSS
$custom: #9c4ee5;
$custom-light: #be85ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4ee5",
  "rgb": {
    "r": 156,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 270.993,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59243,
    "c": 0.21996,
    "h": 304.1
  },
  "luminance": 0.18174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C4EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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