#9D4CC7#9D4CC7

#9D4CC7 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.1% C 0.192 H 312.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9D4CC7
RGBrgb(157, 76, 199)
HSLhsl(280, 52%, 54%)
HSVhsv(280, 62%, 78%)
CMYKcmyk(21.1%, 61.8%, 0%, 22%)
CIE-LABlab(47.57, 53.83, -50.43)
CIE-LCHlch(47.57, 73.76, 316.87°)
OKLaboklab(57.12% 0.1288 -0.1418)
OKLCHoklch(57.12% 0.192 312.2)
XYZxyz(26.7960, 16.4612, 55.7875)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CC7 #76C74C
analogous
#604CC7 #9D4CC7 #C74CB4
triadic
#9D4CC7 #C79D4C #4CC79D
tetradic
#9D4CC7 #C7604C #76C74C #4CB4C7
square
#9D4CC7 #C7604C #76C74C #4CB4C7
split-complementary
#9D4CC7 #B4C74C #4CC760
monochromatic
#592474 #7D33A3 #9D4CC7 #B77BD6 #D0A9E4

Accessibility & contrast

On white

4.89
#9D4CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9D4CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4CC7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CC7#FFFFFF#000000##FFFFFF
##9D4CC71.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6DCB
Deuteranopia (green-blind)
#4373C4
Tritanopia (blue-blind)
#986383
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d4cc7;
/* rgb */ color: rgb(157, 76, 199);
/* oklch */ color: oklch(57.1% 0.192 312.2);
Tailwind
colors: {
  custom: {
    50: '#bd83d9',
    500: '#9d4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #9d4cc7;
$custom-light: #bd83d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4cc7",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 279.512,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57122,
    "c": 0.19159,
    "h": 312.2
  },
  "luminance": 0.16461
}

Semantic roles & 50–950 ramp

primary
#9D4CC7
secondary
#AFD29D
accent
#DC4C7D
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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