#9C3CD7#9C3CD7

#9C3CD7 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.2% C 0.228 H 309.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9C3CD7
RGBrgb(156, 60, 215)
HSLhsl(277, 66%, 54%)
HSVhsv(277, 72%, 84%)
CMYKcmyk(27.4%, 72.1%, 0%, 15.7%)
CIE-LABlab(45.92, 64.18, -62.30)
CIE-LCHlch(45.92, 89.45, 315.85°)
OKLaboklab(56.24% 0.1435 -0.1766)
OKLCHoklch(56.24% 0.228 309.1)
XYZxyz(27.5894, 15.2064, 65.7585)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3CD7 #77D73C
analogous
#4F3CD7 #9C3CD7 #D73CC5
triadic
#9C3CD7 #D79C3C #3CD79C
tetradic
#9C3CD7 #D74F3C #77D73C #3CC5D7
square
#9C3CD7 #D74F3C #77D73C #3CC5D7
split-complementary
#9C3CD7 #C5D73C #3CD74F
monochromatic
#581A7F #7C24B1 #9C3CD7 #B66FE1 #D0A2EC

Accessibility & contrast

On white

5.20
#9C3CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9C3CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3CD7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3CD7#FFFFFF#000000##FFFFFF
##9C3CD71.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#126ED4
Tritanopia (blue-blind)
#936086
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9c3cd7;
/* rgb */ color: rgb(156, 60, 215);
/* oklch */ color: oklch(56.2% 0.228 309.1);
Tailwind
colors: {
  custom: {
    50: '#be7ae4',
    500: '#9c3cd7',
    950: '#000000',
  },
}
SCSS
$custom: #9c3cd7;
$custom-light: #be7ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3cd7",
  "rgb": {
    "r": 156,
    "g": 60,
    "b": 215
  },
  "hsl": {
    "h": 277.161,
    "s": 65.957,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56235,
    "c": 0.22757,
    "h": 309.1
  },
  "luminance": 0.15206
}

Semantic roles & 50–950 ramp

primary
#9C3CD7
secondary
#B0D896
accent
#E93F80
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9C3CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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