#9C4FEB#9C4FEB

#9C4FEB is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.8% C 0.225 H 302.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9C4FEB
RGBrgb(156, 79, 235)
HSLhsl(270, 80%, 62%)
HSVhsv(270, 66%, 92%)
CMYKcmyk(33.6%, 66.4%, 0%, 7.8%)
CIE-LABlab(50.28, 60.30, -66.58)
CIE-LCHlch(50.28, 89.83, 312.17°)
OKLaboklab(59.79% 0.1217 -0.1893)
OKLCHoklch(59.79% 0.225 302.7)
XYZxyz(31.4982, 18.6580, 80.5231)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FEB #9EEB4F
analogous
#4F50EB #9C4FEB #EA4FEB
triadic
#9C4FEB #EB9C4F #4FEB9C
tetradic
#9C4FEB #EB4F50 #9EEB4F #4FEBEA
square
#9C4FEB #EB4F50 #9EEB4F #4FEBEA
split-complementary
#9C4FEB #EBEA4F #50EB4F
monochromatic
#5F14AC #7D1AE3 #9C4FEB #BB86F1 #DABDF7

Accessibility & contrast

On white

4.44
#9C4FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9C4FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C4FEB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FEB#FFFFFF#000000##000000
##9C4FEB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#8C7297
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9c4feb;
/* rgb */ color: rgb(156, 79, 235);
/* oklch */ color: oklch(59.8% 0.225 302.7);
Tailwind
colors: {
  custom: {
    50: '#bf85f2',
    500: '#9c4feb',
    950: '#000000',
  },
}
SCSS
$custom: #9c4feb;
$custom-light: #bf85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4feb",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 269.615,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59787,
    "c": 0.22502,
    "h": 302.7
  },
  "luminance": 0.18658
}

Semantic roles & 50–950 ramp

primary
#9C4FEB
secondary
#CBE8AE
accent
#DC0A74
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9C4FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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