#9C4FE4#9C4FE4

#9C4FE4 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.3% C 0.218 H 304.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9C4FE4
RGBrgb(156, 79, 228)
HSLhsl(271, 73%, 60%)
HSVhsv(271, 65%, 89%)
CMYKcmyk(31.6%, 65.4%, 0%, 10.6%)
CIE-LABlab(49.81, 58.67, -63.40)
CIE-LCHlch(49.81, 86.38, 312.78°)
OKLaboklab(59.3% 0.1224 -0.1799)
OKLCHoklch(59.3% 0.218 304.2)
XYZxyz(30.5067, 18.2614, 75.3014)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FE4 #97E44F
analogous
#524FE4 #9C4FE4 #E44FE1
triadic
#9C4FE4 #E49C4F #4FE49C
tetradic
#9C4FE4 #E4524F #97E44F #4FE1E4
square
#9C4FE4 #E4524F #97E44F #4FE1E4
split-complementary
#9C4FE4 #E1E44F #4FE452
monochromatic
#5F19A0 #7E21D5 #9C4FE4 #BA84EC #D8B9F4

Accessibility & contrast

On white

4.51
#9C4FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9C4FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C4FE4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FE4#FFFFFF#000000##000000
##9C4FE41.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#1D76E1
Tritanopia (blue-blind)
#8F7093
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9c4fe4;
/* rgb */ color: rgb(156, 79, 228);
/* oklch */ color: oklch(59.3% 0.218 304.2);
Tailwind
colors: {
  custom: {
    50: '#be85ed',
    500: '#9c4fe4',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fe4;
$custom-light: #be85ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fe4",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 271.007,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59297,
    "c": 0.21763,
    "h": 304.2
  },
  "luminance": 0.18261
}

Semantic roles & 50–950 ramp

primary
#9C4FE4
secondary
#C6E4AB
accent
#D6106F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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