#9C4EDD#9C4EDD

#9C4EDD is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.7% C 0.212 H 305.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9C4EDD
RGBrgb(156, 78, 221)
HSLhsl(273, 68%, 59%)
HSVhsv(273, 65%, 87%)
CMYKcmyk(29.4%, 64.7%, 0%, 13.3%)
CIE-LABlab(49.18, 57.53, -60.46)
CIE-LCHlch(49.18, 83.46, 313.58°)
OKLaboklab(58.69% 0.1241 -0.1713)
OKLCHoklch(58.69% 0.212 305.9)
XYZxyz(29.4830, 17.7374, 70.2631)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4EDD #8FDD4E
analogous
#544EDD #9C4EDD #DD4ED7
triadic
#9C4EDD #DD9C4E #4EDD9C
tetradic
#9C4EDD #DD544E #8FDD4E #4ED7DD
square
#9C4EDD #DD544E #8FDD4E #4ED7DD
split-complementary
#9C4EDD #D7DD4E #4EDD54
monochromatic
#5E1C94 #7E26C7 #9C4EDD #B981E7 #D5B5F1

Accessibility & contrast

On white

4.62
#9C4EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9C4EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4EDD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4EDD#FFFFFF#000000##FFFFFF
##9C4EDD1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#2A75DA
Tritanopia (blue-blind)
#916D8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9c4edd;
/* rgb */ color: rgb(156, 78, 221);
/* oklch */ color: oklch(58.7% 0.212 305.9);
Tailwind
colors: {
  custom: {
    50: '#be84e8',
    500: '#9c4edd',
    950: '#000000',
  },
}
SCSS
$custom: #9c4edd;
$custom-light: #be84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4edd",
  "rgb": {
    "r": 156,
    "g": 78,
    "b": 221
  },
  "hsl": {
    "h": 272.727,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58693,
    "c": 0.21154,
    "h": 305.9
  },
  "luminance": 0.17737
}

Semantic roles & 50–950 ramp

primary
#9C4EDD
secondary
#C1E0A7
accent
#EB3D8C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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