#9C4DEB#9C4DEB

#9C4DEB is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.5% C 0.227 H 303.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9C4DEB
RGBrgb(156, 77, 235)
HSLhsl(270, 80%, 61%)
HSVhsv(270, 67%, 92%)
CMYKcmyk(33.6%, 67.2%, 0%, 7.8%)
CIE-LABlab(49.95, 61.23, -67.13)
CIE-LCHlch(49.95, 90.86, 312.37°)
OKLaboklab(59.54% 0.1238 -0.1909)
OKLCHoklch(59.54% 0.227 303)
XYZxyz(31.3561, 18.3738, 80.4757)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4DEB #9CEB4D
analogous
#4D4DEB #9C4DEB #EB4DEB
triadic
#9C4DEB #EB9C4D #4DEB9C
tetradic
#9C4DEB #EB4D4D #9CEB4D #4DEBEB
square
#9C4DEB #EB4D4D #9CEB4D #4DEBEB
split-complementary
#9C4DEB #EBEB4D #4DEB4D
monochromatic
#5F13AA #7D19E1 #9C4DEB #BB84F1 #D9BBF7

Accessibility & contrast

On white

4.49
#9C4DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#9C4DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C4DEB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4DEB#FFFFFF#000000##000000
##9C4DEB1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c4deb;
/* rgb */ color: rgb(156, 77, 235);
/* oklch */ color: oklch(59.5% 0.227 303.0);
Tailwind
colors: {
  custom: {
    50: '#bf84f2',
    500: '#9c4deb',
    950: '#000000',
  },
}
SCSS
$custom: #9c4deb;
$custom-light: #bf84f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4deb",
  "rgb": {
    "r": 156,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 270,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59544,
    "c": 0.22749,
    "h": 303
  },
  "luminance": 0.18374
}

Semantic roles & 50–950 ramp

primary
#9C4DEB
secondary
#CAE8AC
accent
#DC0973
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9C4DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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