#9C3FD9#9C3FD9

#9C3FD9 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.7% C 0.226 H 308.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9C3FD9
RGBrgb(156, 63, 217)
HSLhsl(276, 67%, 55%)
HSVhsv(276, 71%, 85%)
CMYKcmyk(28.1%, 71%, 0%, 14.9%)
CIE-LABlab(46.49, 63.38, -62.52)
CIE-LCHlch(46.49, 89.03, 315.39°)
OKLaboklab(56.69% 0.1403 -0.1773)
OKLCHoklch(56.69% 0.226 308.4)
XYZxyz(28.0096, 15.6331, 67.1741)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3FD9 #7CD93F
analogous
#4F3FD9 #9C3FD9 #D93FC9
triadic
#9C3FD9 #D99C3F #3FD99C
tetradic
#9C3FD9 #D94F3F #7CD93F #3FC9D9
square
#9C3FD9 #D94F3F #7CD93F #3FC9D9
split-complementary
#9C3FD9 #C9D93F #3FD94F
monochromatic
#5A1A84 #7D24B7 #9C3FD9 #B672E3 #D1A5ED

Accessibility & contrast

On white

5.09
#9C3FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9C3FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3FD9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3FD9#FFFFFF#000000##FFFFFF
##9C3FD91.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#136FD6
Tritanopia (blue-blind)
#926288
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9c3fd9;
/* rgb */ color: rgb(156, 63, 217);
/* oklch */ color: oklch(56.7% 0.226 308.4);
Tailwind
colors: {
  custom: {
    50: '#be7ce6',
    500: '#9c3fd9',
    950: '#000000',
  },
}
SCSS
$custom: #9c3fd9;
$custom-light: #be7ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3fd9",
  "rgb": {
    "r": 156,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 276.234,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56686,
    "c": 0.22608,
    "h": 308.4
  },
  "luminance": 0.15633
}

Semantic roles & 50–950 ramp

primary
#9C3FD9
secondary
#B3DA9A
accent
#EA3E82
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9C3FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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