#9C4FCA#9C4FCA

#9C4FCA is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.6% C 0.190 H 310.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9C4FCA
RGBrgb(156, 79, 202)
HSLhsl(278, 54%, 55%)
HSVhsv(278, 61%, 79%)
CMYKcmyk(22.8%, 60.9%, 0%, 20.8%)
CIE-LABlab(48.16, 52.78, -51.22)
CIE-LCHlch(48.16, 73.55, 315.86°)
OKLaboklab(57.58% 0.1239 -0.1442)
OKLCHoklch(57.58% 0.19 310.7)
XYZxyz(27.1650, 16.9247, 57.7014)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FCA #7DCA4F
analogous
#5E4FCA #9C4FCA #CA4FBB
triadic
#9C4FCA #CA9C4F #4FCA9C
tetradic
#9C4FCA #CA5E4F #7DCA4F #4FBBCA
square
#9C4FCA #CA5E4F #7DCA4F #4FBBCA
split-complementary
#9C4FCA #BBCA4F #4FCA5E
monochromatic
#5A257A #7D33A9 #9C4FCA #B67ED8 #D1ADE6

Accessibility & contrast

On white

4.79
#9C4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9C4FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4FCA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FCA#FFFFFF#000000##FFFFFF
##9C4FCA1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCE
Deuteranopia (green-blind)
#4274C7
Tritanopia (blue-blind)
#966685
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9c4fca;
/* rgb */ color: rgb(156, 79, 202);
/* oklch */ color: oklch(57.6% 0.190 310.7);
Tailwind
colors: {
  custom: {
    50: '#bd84db',
    500: '#9c4fca',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fca;
$custom-light: #bd84db;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fca",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 277.561,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57582,
    "c": 0.19007,
    "h": 310.7
  },
  "luminance": 0.16924
}

Semantic roles & 50–950 ramp

primary
#9C4FCA
secondary
#B4D4A1
accent
#DD4B81
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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