#9C4ECE#9C4ECE

#9C4ECE is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.7% C 0.196 H 309.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9C4ECE
RGBrgb(156, 78, 206)
HSLhsl(277, 57%, 56%)
HSVhsv(277, 62%, 81%)
CMYKcmyk(24.3%, 62.1%, 0%, 19.2%)
CIE-LABlab(48.23, 54.15, -53.42)
CIE-LCHlch(48.23, 76.07, 315.39°)
OKLaboklab(57.7% 0.125 -0.1506)
OKLCHoklch(57.7% 0.196 309.7)
XYZxyz(27.5731, 16.9734, 60.2042)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4ECE #80CE4E
analogous
#5C4ECE #9C4ECE #CE4EC0
triadic
#9C4ECE #CE9C4E #4ECE9C
tetradic
#9C4ECE #CE5C4E #80CE4E #4EC0CE
square
#9C4ECE #CE5C4E #80CE4E #4EC0CE
split-complementary
#9C4ECE #C0CE4E #4ECE5C
monochromatic
#5B237F #7D30AE #9C4ECE #B77EDB #D2AEE9

Accessibility & contrast

On white

4.78
#9C4ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9C4ECE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4ECE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4ECE#FFFFFF#000000##FFFFFF
##9C4ECE1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6FD2
Deuteranopia (green-blind)
#3D74CB
Tritanopia (blue-blind)
#956787
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9c4ece;
/* rgb */ color: rgb(156, 78, 206);
/* oklch */ color: oklch(57.7% 0.196 309.7);
Tailwind
colors: {
  custom: {
    50: '#bd84de',
    500: '#9c4ece',
    950: '#000000',
  },
}
SCSS
$custom: #9c4ece;
$custom-light: #bd84de;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4ece",
  "rgb": {
    "r": 156,
    "g": 78,
    "b": 206
  },
  "hsl": {
    "h": 276.563,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57704,
    "c": 0.19571,
    "h": 309.7
  },
  "luminance": 0.16973
}

Semantic roles & 50–950 ramp

primary
#9C4ECE
secondary
#B6D7A1
accent
#E04883
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C4ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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