#9C3AD4#9C3AD4

#9C3AD4 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.8% C 0.227 H 310.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9C3AD4
RGBrgb(156, 58, 212)
HSLhsl(278, 64%, 53%)
HSVhsv(278, 73%, 83%)
CMYKcmyk(26.4%, 72.6%, 0%, 16.9%)
CIE-LABlab(45.43, 64.34, -61.38)
CIE-LCHlch(45.43, 88.92, 316.35°)
OKLaboklab(55.82% 0.1459 -0.1739)
OKLCHoklch(55.82% 0.227 310)
XYZxyz(27.1047, 14.8481, 63.7127)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3AD4 #72D43A
analogous
#4F3AD4 #9C3AD4 #D43ABF
triadic
#9C3AD4 #D49C3A #3AD49C
tetradic
#9C3AD4 #D44F3A #72D43A #3ABFD4
square
#9C3AD4 #D44F3A #72D43A #3ABFD4
split-complementary
#9C3AD4 #BFD43A #3AD44F
monochromatic
#571A79 #7B25AB #9C3AD4 #B56CDF #CE9EEA

Accessibility & contrast

On white

5.29
#9C3AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9C3AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3AD4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3AD4#FFFFFF#000000##FFFFFF
##9C3AD41.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#176DD1
Tritanopia (blue-blind)
#945D84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9c3ad4;
/* rgb */ color: rgb(156, 58, 212);
/* oklch */ color: oklch(55.8% 0.227 310.0);
Tailwind
colors: {
  custom: {
    50: '#be79e2',
    500: '#9c3ad4',
    950: '#000000',
  },
}
SCSS
$custom: #9c3ad4;
$custom-light: #be79e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3ad4",
  "rgb": {
    "r": 156,
    "g": 58,
    "b": 212
  },
  "hsl": {
    "h": 278.182,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55821,
    "c": 0.22696,
    "h": 310
  },
  "luminance": 0.14847
}

Semantic roles & 50–950 ramp

primary
#9C3AD4
secondary
#ACD694
accent
#E7417D
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #9C3AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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