#9C3BD4#9C3BD4

#9C3BD4 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.9% C 0.226 H 309.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9C3BD4
RGBrgb(156, 59, 212)
HSLhsl(278, 64%, 53%)
HSVhsv(278, 72%, 83%)
CMYKcmyk(26.4%, 72.2%, 0%, 16.9%)
CIE-LABlab(45.57, 63.95, -61.15)
CIE-LCHlch(45.57, 88.48, 316.28°)
OKLaboklab(55.92% 0.1449 -0.1732)
OKLCHoklch(55.92% 0.226 309.9)
XYZxyz(27.1556, 14.9499, 63.7297)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3BD4 #73D43B
analogous
#4F3BD4 #9C3BD4 #D43BC0
triadic
#9C3BD4 #D49C3B #3BD49C
tetradic
#9C3BD4 #D44F3B #73D43B #3BC0D4
square
#9C3BD4 #D44F3B #73D43B #3BC0D4
split-complementary
#9C3BD4 #C0D43B #3BD44F
monochromatic
#571B7A #7B26AC #9C3BD4 #B56DDF #CF9FEA

Accessibility & contrast

On white

5.26
#9C3BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9C3BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3BD4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3BD4#FFFFFF#000000##FFFFFF
##9C3BD41.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#196DD1
Tritanopia (blue-blind)
#945E84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9c3bd4;
/* rgb */ color: rgb(156, 59, 212);
/* oklch */ color: oklch(55.9% 0.226 309.9);
Tailwind
colors: {
  custom: {
    50: '#be7ae2',
    500: '#9c3bd4',
    950: '#000000',
  },
}
SCSS
$custom: #9c3bd4;
$custom-light: #be7ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3bd4",
  "rgb": {
    "r": 156,
    "g": 59,
    "b": 212
  },
  "hsl": {
    "h": 278.039,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55921,
    "c": 0.22585,
    "h": 309.9
  },
  "luminance": 0.14949
}

Semantic roles & 50–950 ramp

primary
#9C3BD4
secondary
#ADD694
accent
#E7417E
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #9C3BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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