#9C4FD7#9C4FD7

#9C4FD7 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.4% C 0.204 H 307.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9C4FD7
RGBrgb(156, 79, 215)
HSLhsl(274, 63%, 58%)
HSVhsv(274, 63%, 84%)
CMYKcmyk(27.4%, 63.3%, 0%, 15.7%)
CIE-LABlab(48.97, 55.69, -57.38)
CIE-LCHlch(48.97, 79.96, 314.14°)
OKLaboklab(58.42% 0.1234 -0.1622)
OKLCHoklch(58.42% 0.204 307.3)
XYZxyz(28.7695, 17.5665, 66.1519)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FD7 #8AD74F
analogous
#584FD7 #9C4FD7 #D74FCE
triadic
#9C4FD7 #D79C4F #4FD79C
tetradic
#9C4FD7 #D7584F #8AD74F #4FCED7
square
#9C4FD7 #D7584F #8AD74F #4FCED7
split-complementary
#9C4FD7 #CED74F #4FD758
monochromatic
#5D208C #7E2BBE #9C4FD7 #B881E2 #D4B3EE

Accessibility & contrast

On white

4.65
#9C4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9C4FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4FD7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FD7#FFFFFF#000000##FFFFFF
##9C4FD71.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#3475D4
Tritanopia (blue-blind)
#936B8C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9c4fd7;
/* rgb */ color: rgb(156, 79, 215);
/* oklch */ color: oklch(58.4% 0.204 307.3);
Tailwind
colors: {
  custom: {
    50: '#bd85e4',
    500: '#9c4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fd7;
$custom-light: #bd85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fd7",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 273.971,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58419,
    "c": 0.20385,
    "h": 307.3
  },
  "luminance": 0.17566
}

Semantic roles & 50–950 ramp

primary
#9C4FD7
secondary
#BDDCA6
accent
#E64289
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9C4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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