#9C4FD0#9C4FD0

#9C4FD0 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 58.0% C 0.196 H 309.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9C4FD0
RGBrgb(156, 79, 208)
HSLhsl(276, 58%, 56%)
HSVhsv(276, 62%, 82%)
CMYKcmyk(25%, 62%, 0%, 18.4%)
CIE-LABlab(48.53, 54.11, -54.08)
CIE-LCHlch(48.53, 76.50, 315.02°)
OKLaboklab(57.96% 0.1237 -0.1526)
OKLCHoklch(57.96% 0.196 309)
XYZxyz(27.8892, 17.2144, 61.5158)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FD0 #83D04F
analogous
#5C4FD0 #9C4FD0 #D04FC4
triadic
#9C4FD0 #D09C4F #4FD09C
tetradic
#9C4FD0 #D05C4F #83D04F #4FC4D0
square
#9C4FD0 #D05C4F #83D04F #4FC4D0
split-complementary
#9C4FD0 #C4D04F #4FD05C
monochromatic
#5C2382 #7E30B2 #9C4FD0 #B77FDD #D2B0EA

Accessibility & contrast

On white

4.73
#9C4FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9C4FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4FD0
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FD0#FFFFFF#000000##FFFFFF
##9C4FD01.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C70D4
Deuteranopia (green-blind)
#3C74CD
Tritanopia (blue-blind)
#956888
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9c4fd0;
/* rgb */ color: rgb(156, 79, 208);
/* oklch */ color: oklch(58.0% 0.196 309.0);
Tailwind
colors: {
  custom: {
    50: '#bd85df',
    500: '#9c4fd0',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fd0;
$custom-light: #bd85df;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fd0",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 208
  },
  "hsl": {
    "h": 275.814,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57963,
    "c": 0.19643,
    "h": 309
  },
  "luminance": 0.17214
}

Semantic roles & 50–950 ramp

primary
#9C4FD0
secondary
#B8D8A3
accent
#E14785
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C4FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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