#9C4FEC#9C4FEC

#9C4FEC is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.9% C 0.226 H 302.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9C4FEC
RGBrgb(156, 79, 236)
HSLhsl(269, 81%, 62%)
HSVhsv(269, 67%, 93%)
CMYKcmyk(33.9%, 66.5%, 0%, 7.5%)
CIE-LABlab(50.35, 60.53, -67.03)
CIE-LCHlch(50.35, 90.32, 312.08°)
OKLaboklab(59.86% 0.1216 -0.1906)
OKLCHoklch(59.86% 0.226 302.5)
XYZxyz(31.6431, 18.7160, 81.2861)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FEC #9FEC4F
analogous
#4F51EC #9C4FEC #EB4FEC
triadic
#9C4FEC #EC9C4F #4FEC9C
tetradic
#9C4FEC #EC4F51 #9FEC4F #4FECEB
square
#9C4FEC #EC4F51 #9FEC4F #4FECEB
split-complementary
#9C4FEC #ECEB4F #51EC4F
monochromatic
#5F13AE #7D19E5 #9C4FEC #BB86F2 #DABDF8

Accessibility & contrast

On white

4.43
#9C4FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9C4FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C4FEC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FEC#FFFFFF#000000##000000
##9C4FEC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#8C7397
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9c4fec;
/* rgb */ color: rgb(156, 79, 236);
/* oklch */ color: oklch(59.9% 0.226 302.5);
Tailwind
colors: {
  custom: {
    50: '#bf85f3',
    500: '#9c4fec',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fec;
$custom-light: #bf85f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fec",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 269.427,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59858,
    "c": 0.22608,
    "h": 302.5
  },
  "luminance": 0.18716
}

Semantic roles & 50–950 ramp

primary
#9C4FEC
secondary
#CCE8AE
accent
#DD0975
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9C4FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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