#9C4CEB#9C4CEB

#9C4CEB is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.4% C 0.229 H 303.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9C4CEB
RGBrgb(156, 76, 235)
HSLhsl(270, 80%, 61%)
HSVhsv(270, 68%, 92%)
CMYKcmyk(33.6%, 67.7%, 0%, 7.8%)
CIE-LABlab(49.78, 61.70, -67.40)
CIE-LCHlch(49.78, 91.37, 312.47°)
OKLaboklab(59.43% 0.1248 -0.1917)
OKLCHoklch(59.43% 0.229 303.1)
XYZxyz(31.2866, 18.2350, 80.4526)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4CEB #9BEB4C
analogous
#4C4CEB #9C4CEB #EB4CEA
triadic
#9C4CEB #EB9C4C #4CEB9C
tetradic
#9C4CEB #EB4C4C #9BEB4C #4CEAEB
square
#9C4CEB #EB4C4C #9BEB4C #4CEAEB
split-complementary
#9C4CEB #EAEB4C #4CEB4C
monochromatic
#5F13AA #7E19E1 #9C4CEB #BA83F1 #D9BAF7

Accessibility & contrast

On white

4.52
#9C4CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9C4CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C4CEB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4CEB#FFFFFF#000000##000000
##9C4CEB1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#8C7196
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9c4ceb;
/* rgb */ color: rgb(156, 76, 235);
/* oklch */ color: oklch(59.4% 0.229 303.1);
Tailwind
colors: {
  custom: {
    50: '#bf84f2',
    500: '#9c4ceb',
    950: '#000000',
  },
}
SCSS
$custom: #9c4ceb;
$custom-light: #bf84f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4ceb",
  "rgb": {
    "r": 156,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 270.189,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59425,
    "c": 0.22871,
    "h": 303.1
  },
  "luminance": 0.18235
}

Semantic roles & 50–950 ramp

primary
#9C4CEB
secondary
#C9E7AB
accent
#DC0972
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9C4CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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