#9C4EDF#9C4EDF

#9C4EDF is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.8% C 0.214 H 305.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9C4EDF
RGBrgb(156, 78, 223)
HSLhsl(272, 69%, 59%)
HSVhsv(272, 65%, 87%)
CMYKcmyk(30%, 65%, 0%, 12.5%)
CIE-LABlab(49.31, 57.99, -61.38)
CIE-LCHlch(49.31, 84.44, 313.37°)
OKLaboklab(58.83% 0.124 -0.174)
OKLCHoklch(58.83% 0.214 305.5)
XYZxyz(29.7511, 17.8446, 71.6748)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4EDF #91DF4E
analogous
#544EDF #9C4EDF #DF4EDA
triadic
#9C4EDF #DF9C4E #4EDF9C
tetradic
#9C4EDF #DF544E #91DF4E #4EDADF
square
#9C4EDF #DF544E #91DF4E #4EDADF
split-complementary
#9C4EDF #DADF4E #4EDF54
monochromatic
#5E1B97 #7E25CB #9C4EDF #B982E8 #D6B6F2

Accessibility & contrast

On white

4.60
#9C4EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9C4EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4EDF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4EDF#FFFFFF#000000##FFFFFF
##9C4EDF1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#2675DC
Tritanopia (blue-blind)
#906D90
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9c4edf;
/* rgb */ color: rgb(156, 78, 223);
/* oklch */ color: oklch(58.8% 0.214 305.5);
Tailwind
colors: {
  custom: {
    50: '#be84ea',
    500: '#9c4edf',
    950: '#000000',
  },
}
SCSS
$custom: #9c4edf;
$custom-light: #be84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4edf",
  "rgb": {
    "r": 156,
    "g": 78,
    "b": 223
  },
  "hsl": {
    "h": 272.276,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58829,
    "c": 0.21365,
    "h": 305.5
  },
  "luminance": 0.17844
}

Semantic roles & 50–950 ramp

primary
#9C4EDF
secondary
#C2E1A8
accent
#EC3C8D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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