#9D4DCA#9D4DCA

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

Color values

HEX#9D4DCA
RGBrgb(157, 77, 202)
HSLhsl(278, 54%, 55%)
HSVhsv(278, 62%, 79%)
CMYKcmyk(22.3%, 61.9%, 0%, 20.8%)
CIE-LABlab(47.93, 54.00, -51.58)
CIE-LCHlch(47.93, 74.68, 316.31°)
OKLaboklab(57.44% 0.1276 -0.1452)
OKLCHoklch(57.44% 0.193 311.3)
XYZxyz(27.2172, 16.7407, 57.6632)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4DCA #7ACA4D
analogous
#5F4DCA #9D4DCA #CA4DB9
triadic
#9D4DCA #CA9D4D #4DCA9D
tetradic
#9D4DCA #CA5F4D #7ACA4D #4DB9CA
square
#9D4DCA #CA5F4D #7ACA4D #4DB9CA
split-complementary
#9D4DCA #B9CA4D #4DCA5F
monochromatic
#5A2479 #7D32A8 #9D4DCA #B77CD8 #D1ABE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D4DCA#FFFFFF#000000##FFFFFF
##9D4DCA1.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)
#176ECE
Deuteranopia (green-blind)
#4173C7
Tritanopia (blue-blind)
#986584
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d4dca;
/* rgb */ color: rgb(157, 77, 202);
/* oklch */ color: oklch(57.4% 0.193 311.3);
Tailwind
colors: {
  custom: {
    50: '#bd83db',
    500: '#9d4dca',
    950: '#000000',
  },
}
SCSS
$custom: #9d4dca;
$custom-light: #bd83db;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4dca",
  "rgb": {
    "r": 157,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 278.4,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5744,
    "c": 0.19327,
    "h": 311.3
  },
  "luminance": 0.1674
}

Semantic roles & 50–950 ramp

primary
#9D4DCA
secondary
#B2D49F
accent
#DD4A7F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D4DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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