#9C3FD5#9C3FD5

#9C3FD5 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.4% C 0.222 H 309.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9C3FD5
RGBrgb(156, 63, 213)
HSLhsl(277, 64%, 54%)
HSVhsv(277, 70%, 84%)
CMYKcmyk(26.8%, 70.4%, 0%, 16.5%)
CIE-LABlab(46.21, 62.52, -60.67)
CIE-LCHlch(46.21, 87.12, 315.86°)
OKLaboklab(56.4% 0.1409 -0.1718)
OKLCHoklch(56.4% 0.222 309.3)
XYZxyz(27.4956, 15.4276, 64.4672)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3FD5 #78D53F
analogous
#513FD5 #9C3FD5 #D53FC3
triadic
#9C3FD5 #D59C3F #3FD59C
tetradic
#9C3FD5 #D5513F #78D53F #3FC3D5
square
#9C3FD5 #D5513F #78D53F #3FC3D5
split-complementary
#9C3FD5 #C3D53F #3FD551
monochromatic
#591C7E #7C27B0 #9C3FD5 #B671E0 #D0A3EB

Accessibility & contrast

On white

5.14
#9C3FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9C3FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3FD5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3FD5#FFFFFF#000000##FFFFFF
##9C3FD51.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#1E6FD2
Tritanopia (blue-blind)
#946186
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9c3fd5;
/* rgb */ color: rgb(156, 63, 213);
/* oklch */ color: oklch(56.4% 0.222 309.3);
Tailwind
colors: {
  custom: {
    50: '#be7ce3',
    500: '#9c3fd5',
    950: '#000000',
  },
}
SCSS
$custom: #9c3fd5;
$custom-light: #be7ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3fd5",
  "rgb": {
    "r": 156,
    "g": 63,
    "b": 213
  },
  "hsl": {
    "h": 277.2,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56403,
    "c": 0.22221,
    "h": 309.3
  },
  "luminance": 0.15427
}

Semantic roles & 50–950 ramp

primary
#9C3FD5
secondary
#B0D898
accent
#E74180
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #9C3FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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