#9C4FCF#9C4FCF

#9C4FCF is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.9% C 0.195 H 309.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9C4FCF
RGBrgb(156, 79, 207)
HSLhsl(276, 57%, 56%)
HSVhsv(276, 62%, 81%)
CMYKcmyk(24.6%, 61.8%, 0%, 18.8%)
CIE-LABlab(48.47, 53.89, -53.61)
CIE-LCHlch(48.47, 76.01, 315.15°)
OKLaboklab(57.9% 0.1238 -0.1512)
OKLCHoklch(57.9% 0.195 309.3)
XYZxyz(27.7666, 17.1654, 60.8699)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FCF #82CF4F
analogous
#5C4FCF #9C4FCF #CF4FC2
triadic
#9C4FCF #CF9C4F #4FCF9C
tetradic
#9C4FCF #CF5C4F #82CF4F #4FC2CF
square
#9C4FCF #CF5C4F #82CF4F #4FC2CF
split-complementary
#9C4FCF #C2CF4F #4FCF5C
monochromatic
#5B2381 #7D30B1 #9C4FCF #B77FDC #D2AFE9

Accessibility & contrast

On white

4.74
#9C4FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9C4FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4FCF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FCF#FFFFFF#000000##FFFFFF
##9C4FCF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1070D3
Deuteranopia (green-blind)
#3D74CC
Tritanopia (blue-blind)
#956888
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9c4fcf;
/* rgb */ color: rgb(156, 79, 207);
/* oklch */ color: oklch(57.9% 0.195 309.3);
Tailwind
colors: {
  custom: {
    50: '#bd84de',
    500: '#9c4fcf',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fcf;
$custom-light: #bd84de;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fcf",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 276.094,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57899,
    "c": 0.19537,
    "h": 309.3
  },
  "luminance": 0.17165
}

Semantic roles & 50–950 ramp

primary
#9C4FCF
secondary
#B8D7A2
accent
#E04784
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C4FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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