#9C3FD2#9C3FD2

#9C3FD2 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.2% C 0.219 H 310.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9C3FD2
RGBrgb(156, 63, 210)
HSLhsl(278, 62%, 54%)
HSVhsv(278, 70%, 82%)
CMYKcmyk(25.7%, 70%, 0%, 17.6%)
CIE-LABlab(46.01, 61.88, -59.28)
CIE-LCHlch(46.01, 85.69, 316.23°)
OKLaboklab(56.19% 0.1413 -0.1677)
OKLCHoklch(56.19% 0.219 310.1)
XYZxyz(27.1184, 15.2767, 62.4804)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3FD2 #75D23F
analogous
#523FD2 #9C3FD2 #D23FBE
triadic
#9C3FD2 #D29C3F #3FD29C
tetradic
#9C3FD2 #D2523F #75D23F #3FBED2
square
#9C3FD2 #D2523F #75D23F #3FBED2
split-complementary
#9C3FD2 #BED23F #3FD252
monochromatic
#581D7A #7B28AC #9C3FD2 #B671DE #CFA2E9

Accessibility & contrast

On white

5.18
#9C3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9C3FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3FD2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3FD2#FFFFFF#000000##FFFFFF
##9C3FD21.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#246ECF
Tritanopia (blue-blind)
#955F84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9c3fd2;
/* rgb */ color: rgb(156, 63, 210);
/* oklch */ color: oklch(56.2% 0.219 310.1);
Tailwind
colors: {
  custom: {
    50: '#be7ce1',
    500: '#9c3fd2',
    950: '#000000',
  },
}
SCSS
$custom: #9c3fd2;
$custom-light: #be7ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3fd2",
  "rgb": {
    "r": 156,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 277.959,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56194,
    "c": 0.2193,
    "h": 310.1
  },
  "luminance": 0.15276
}

Semantic roles & 50–950 ramp

primary
#9C3FD2
secondary
#AED697
accent
#E5437E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9C3FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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