#9C4FDC#9C4FDC

#9C4FDC is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.8% C 0.209 H 306.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9C4FDC
RGBrgb(156, 79, 220)
HSLhsl(273, 67%, 59%)
HSVhsv(273, 64%, 86%)
CMYKcmyk(29.1%, 64.1%, 0%, 13.7%)
CIE-LABlab(49.29, 56.83, -59.71)
CIE-LCHlch(49.29, 82.43, 313.58°)
OKLaboklab(58.75% 0.1231 -0.1691)
OKLCHoklch(58.75% 0.209 306.1)
XYZxyz(29.4218, 17.8275, 69.5873)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FDC #8FDC4F
analogous
#554FDC #9C4FDC #DC4FD5
triadic
#9C4FDC #DC9C4F #4FDC9C
tetradic
#9C4FDC #DC554F #8FDC4F #4FD5DC
square
#9C4FDC #DC554F #8FDC4F #4FD5DC
split-complementary
#9C4FDC #D5DC4F #4FDC55
monochromatic
#5E1D93 #7E27C6 #9C4FDC #B982E6 #D5B5F0

Accessibility & contrast

On white

4.60
#9C4FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9C4FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4FDC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FDC#FFFFFF#000000##FFFFFF
##9C4FDC1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#2D76D9
Tritanopia (blue-blind)
#916D8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9c4fdc;
/* rgb */ color: rgb(156, 79, 220);
/* oklch */ color: oklch(58.8% 0.209 306.1);
Tailwind
colors: {
  custom: {
    50: '#be85e8',
    500: '#9c4fdc',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fdc;
$custom-light: #be85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fdc",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 272.766,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58752,
    "c": 0.20916,
    "h": 306.1
  },
  "luminance": 0.17827
}

Semantic roles & 50–950 ramp

primary
#9C4FDC
secondary
#C1DFA8
accent
#EA3E8C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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