#9C4FE5#9C4FE5

#9C4FE5 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.4% C 0.219 H 304.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9C4FE5
RGBrgb(156, 79, 229)
HSLhsl(271, 74%, 60%)
HSVhsv(271, 66%, 90%)
CMYKcmyk(31.9%, 65.5%, 0%, 10.2%)
CIE-LABlab(49.88, 58.90, -63.85)
CIE-LCHlch(49.88, 86.87, 312.69°)
OKLaboklab(59.37% 0.1223 -0.1813)
OKLCHoklch(59.37% 0.219 304)
XYZxyz(30.6459, 18.3171, 76.0346)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FE5 #98E54F
analogous
#514FE5 #9C4FE5 #E54FE3
triadic
#9C4FE5 #E59C4F #4FE59C
tetradic
#9C4FE5 #E5514F #98E54F #4FE3E5
square
#9C4FE5 #E5514F #98E54F #4FE3E5
split-complementary
#9C4FE5 #E3E54F #4FE551
monochromatic
#5F18A2 #7E20D7 #9C4FE5 #BA84ED #D8BAF5

Accessibility & contrast

On white

4.50
#9C4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9C4FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C4FE5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FE5#FFFFFF#000000##000000
##9C4FE51.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#1B77E2
Tritanopia (blue-blind)
#8E7093
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9c4fe5;
/* rgb */ color: rgb(156, 79, 229);
/* oklch */ color: oklch(59.4% 0.219 304.0);
Tailwind
colors: {
  custom: {
    50: '#be85ee',
    500: '#9c4fe5',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fe5;
$custom-light: #be85ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fe5",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 270.8,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59367,
    "c": 0.21869,
    "h": 304
  },
  "luminance": 0.18317
}

Semantic roles & 50–950 ramp

primary
#9C4FE5
secondary
#C7E5AB
accent
#D60F70
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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