#9C4FED#9C4FED

#9C4FED is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.9% C 0.227 H 302.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9C4FED
RGBrgb(156, 79, 237)
HSLhsl(269, 81%, 62%)
HSVhsv(269, 67%, 93%)
CMYKcmyk(34.2%, 66.7%, 0%, 7.1%)
CIE-LABlab(50.42, 60.77, -67.48)
CIE-LCHlch(50.42, 90.81, 312.00°)
OKLaboklab(59.93% 0.1215 -0.1919)
OKLCHoklch(59.93% 0.227 302.3)
XYZxyz(31.7887, 18.7742, 82.0534)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FED #A0ED4F
analogous
#4F51ED #9C4FED #EB4FED
triadic
#9C4FED #ED9C4F #4FED9C
tetradic
#9C4FED #ED4F51 #A0ED4F #4FEDEB
square
#9C4FED #ED4F51 #A0ED4F #4FEDEB
split-complementary
#9C4FED #EDEB4F #51ED4F
monochromatic
#5F12B0 #7D18E7 #9C4FED #BB87F3 #DABEF8

Accessibility & contrast

On white

4.42
#9C4FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#9C4FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C4FED
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FED#FFFFFF#000000##000000
##9C4FED1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F2
Deuteranopia (green-blind)
#0077EA
Tritanopia (blue-blind)
#8B7398
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9c4fed;
/* rgb */ color: rgb(156, 79, 237);
/* oklch */ color: oklch(59.9% 0.227 302.3);
Tailwind
colors: {
  custom: {
    50: '#bf85f4',
    500: '#9c4fed',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fed;
$custom-light: #bf85f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fed",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 237
  },
  "hsl": {
    "h": 269.241,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59929,
    "c": 0.22713,
    "h": 302.3
  },
  "luminance": 0.18774
}

Semantic roles & 50–950 ramp

primary
#9C4FED
secondary
#CDE9AF
accent
#DE0875
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9C4FED

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

Preview Lab → · Contrast checker → · Palette generator →

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