#9C4ADB#9C4ADB

#9C4ADB is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.1% C 0.215 H 306.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9C4ADB
RGBrgb(156, 74, 219)
HSLhsl(274, 67%, 57%)
HSVhsv(274, 66%, 86%)
CMYKcmyk(28.8%, 66.2%, 0%, 14.1%)
CIE-LABlab(48.36, 58.97, -60.63)
CIE-LCHlch(48.36, 84.58, 314.20°)
OKLaboklab(58.07% 0.1287 -0.1718)
OKLCHoklch(58.07% 0.215 306.8)
XYZxyz(28.9425, 17.0803, 68.7762)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4ADB #89DB4A
analogous
#544ADB #9C4ADB #DB4AD1
triadic
#9C4ADB #DB9C4A #4ADB9C
tetradic
#9C4ADB #DB544A #89DB4A #4AD1DB
square
#9C4ADB #DB544A #89DB4A #4AD1DB
split-complementary
#9C4ADB #D1DB4A #4ADB54
monochromatic
#5D1C8E #7E26C1 #9C4ADB #B87DE5 #D4B0EF

Accessibility & contrast

On white

4.76
#9C4ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9C4ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4ADB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4ADB#FFFFFF#000000##FFFFFF
##9C4ADB1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#2673D8
Tritanopia (blue-blind)
#92698C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9c4adb;
/* rgb */ color: rgb(156, 74, 219);
/* oklch */ color: oklch(58.1% 0.215 306.8);
Tailwind
colors: {
  custom: {
    50: '#be82e7',
    500: '#9c4adb',
    950: '#000000',
  },
}
SCSS
$custom: #9c4adb;
$custom-light: #be82e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4adb",
  "rgb": {
    "r": 156,
    "g": 74,
    "b": 219
  },
  "hsl": {
    "h": 273.931,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58065,
    "c": 0.21466,
    "h": 306.8
  },
  "luminance": 0.1708
}

Semantic roles & 50–950 ramp

primary
#9C4ADB
secondary
#BDDEA3
accent
#EA3E89
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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