#9C4FD9#9C4FD9

#9C4FD9 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.6% C 0.206 H 306.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9C4FD9
RGBrgb(156, 79, 217)
HSLhsl(273, 64%, 58%)
HSVhsv(273, 64%, 85%)
CMYKcmyk(28.1%, 63.6%, 0%, 14.9%)
CIE-LABlab(49.09, 56.14, -58.32)
CIE-LCHlch(49.09, 80.95, 313.91°)
OKLaboklab(58.55% 0.1233 -0.165)
OKLCHoklch(58.55% 0.206 306.8)
XYZxyz(29.0280, 17.6700, 67.5136)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FD9 #8CD94F
analogous
#574FD9 #9C4FD9 #D94FD1
triadic
#9C4FD9 #D99C4F #4FD99C
tetradic
#9C4FD9 #D9574F #8CD94F #4FD1D9
square
#9C4FD9 #D9574F #8CD94F #4FD1D9
split-complementary
#9C4FD9 #D1D94F #4FD957
monochromatic
#5D1F8F #7E2AC1 #9C4FD9 #B881E4 #D5B4EF

Accessibility & contrast

On white

4.63
#9C4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9C4FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4FD9
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FD9#FFFFFF#000000##FFFFFF
##9C4FD91.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#3175D6
Tritanopia (blue-blind)
#926C8D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9c4fd9;
/* rgb */ color: rgb(156, 79, 217);
/* oklch */ color: oklch(58.6% 0.206 306.8);
Tailwind
colors: {
  custom: {
    50: '#bd85e5',
    500: '#9c4fd9',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fd9;
$custom-light: #bd85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fd9",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 273.478,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58551,
    "c": 0.20597,
    "h": 306.8
  },
  "luminance": 0.1767
}

Semantic roles & 50–950 ramp

primary
#9C4FD9
secondary
#BFDDA6
accent
#E7408A
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9C4FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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