#9C4ED9#9C4ED9

#9C4ED9 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.4% C 0.207 H 306.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9C4ED9
RGBrgb(156, 78, 217)
HSLhsl(274, 65%, 58%)
HSVhsv(274, 64%, 85%)
CMYKcmyk(28.1%, 64.1%, 0%, 14.9%)
CIE-LABlab(48.92, 56.62, -58.60)
CIE-LCHlch(48.92, 81.49, 314.02°)
OKLaboklab(58.42% 0.1244 -0.1658)
OKLCHoklch(58.42% 0.207 306.9)
XYZxyz(28.9564, 17.5268, 67.4897)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4ED9 #8BD94E
analogous
#564ED9 #9C4ED9 #D94ED0
triadic
#9C4ED9 #D99C4E #4ED99C
tetradic
#9C4ED9 #D9564E #8BD94E #4ED0D9
square
#9C4ED9 #D9564E #8BD94E #4ED0D9
split-complementary
#9C4ED9 #D0D94E #4ED956
monochromatic
#5D1F8E #7E29C0 #9C4ED9 #B880E4 #D4B3EF

Accessibility & contrast

On white

4.66
#9C4ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9C4ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4ED9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4ED9#FFFFFF#000000##FFFFFF
##9C4ED91.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#3075D6
Tritanopia (blue-blind)
#926B8D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9c4ed9;
/* rgb */ color: rgb(156, 78, 217);
/* oklch */ color: oklch(58.4% 0.207 306.9);
Tailwind
colors: {
  custom: {
    50: '#bd84e5',
    500: '#9c4ed9',
    950: '#000000',
  },
}
SCSS
$custom: #9c4ed9;
$custom-light: #bd84e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4ed9",
  "rgb": {
    "r": 156,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 273.669,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58424,
    "c": 0.20732,
    "h": 306.9
  },
  "luminance": 0.17526
}

Semantic roles & 50–950 ramp

primary
#9C4ED9
secondary
#BEDDA6
accent
#E8408A
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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