#9C4DE8#9C4DE8

#9C4DE8 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.3% C 0.224 H 303.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9C4DE8
RGBrgb(156, 77, 232)
HSLhsl(271, 77%, 61%)
HSVhsv(271, 67%, 91%)
CMYKcmyk(32.8%, 66.8%, 0%, 9%)
CIE-LABlab(49.74, 60.54, -65.77)
CIE-LCHlch(49.74, 89.39, 312.63°)
OKLaboklab(59.33% 0.1241 -0.1869)
OKLCHoklch(59.33% 0.224 303.6)
XYZxyz(30.9263, 18.2019, 78.2123)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4DE8 #99E84D
analogous
#4F4DE8 #9C4DE8 #E84DE6
triadic
#9C4DE8 #E89C4D #4DE89C
tetradic
#9C4DE8 #E84F4D #99E84D #4DE6E8
square
#9C4DE8 #E84F4D #99E84D #4DE6E8
split-complementary
#9C4DE8 #E6E84D #4DE84F
monochromatic
#5F15A5 #7E1CDB #9C4DE8 #BA83EF #D8B9F6

Accessibility & contrast

On white

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

On black

4.64
#9C4DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C4DE8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4DE8#FFFFFF#000000##000000
##9C4DE81.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#0776E5
Tritanopia (blue-blind)
#8D7094
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9c4de8;
/* rgb */ color: rgb(156, 77, 232);
/* oklch */ color: oklch(59.3% 0.224 303.6);
Tailwind
colors: {
  custom: {
    50: '#be84f0',
    500: '#9c4de8',
    950: '#000000',
  },
}
SCSS
$custom: #9c4de8;
$custom-light: #be84f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4de8",
  "rgb": {
    "r": 156,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 270.581,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59332,
    "c": 0.22437,
    "h": 303.6
  },
  "luminance": 0.18202
}

Semantic roles & 50–950 ramp

primary
#9C4DE8
secondary
#C8E6AB
accent
#D90C71
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9C4DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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