#9D4CCD#9D4CCD

#9D4CCD is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.5% C 0.198 H 310.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9D4CCD
RGBrgb(157, 76, 205)
HSLhsl(278, 56%, 55%)
HSVhsv(278, 63%, 80%)
CMYKcmyk(23.4%, 62.9%, 0%, 19.6%)
CIE-LABlab(47.94, 55.13, -53.30)
CIE-LCHlch(47.94, 76.69, 315.97°)
OKLaboklab(57.5% 0.1286 -0.1502)
OKLCHoklch(57.5% 0.198 310.6)
XYZxyz(27.5064, 16.7453, 59.5289)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CCD #7CCD4C
analogous
#5C4CCD #9D4CCD #CD4CBD
triadic
#9D4CCD #CD9D4C #4CCD9D
tetradic
#9D4CCD #CD5C4C #7CCD4C #4CBDCD
square
#9D4CCD #CD5C4C #7CCD4C #4CBDCD
split-complementary
#9D4CCD #BDCD4C #4CCD5C
monochromatic
#5B237C #7E30AC #9D4CCD #B77CDA #D1ACE8

Accessibility & contrast

On white

4.83
#9D4CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9D4CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4CCD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CCD#FFFFFF#000000##FFFFFF
##9D4CCD1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086ED1
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#976586
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d4ccd;
/* rgb */ color: rgb(157, 76, 205);
/* oklch */ color: oklch(57.5% 0.198 310.6);
Tailwind
colors: {
  custom: {
    50: '#be83dd',
    500: '#9d4ccd',
    950: '#000000',
  },
}
SCSS
$custom: #9d4ccd;
$custom-light: #be83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4ccd",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 277.674,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57503,
    "c": 0.1978,
    "h": 310.6
  },
  "luminance": 0.16745
}

Semantic roles & 50–950 ramp

primary
#9D4CCD
secondary
#B3D59F
accent
#E04881
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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