#9D4ADC#9D4ADC

#9D4ADC is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.216 H 307.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9D4ADC
RGBrgb(157, 74, 220)
HSLhsl(274, 68%, 58%)
HSVhsv(274, 66%, 86%)
CMYKcmyk(28.6%, 66.4%, 0%, 13.7%)
CIE-LABlab(48.55, 59.40, -60.89)
CIE-LCHlch(48.55, 85.06, 314.29°)
OKLaboklab(58.25% 0.1299 -0.1725)
OKLCHoklch(58.25% 0.216 307)
XYZxyz(29.2689, 17.2333, 69.4807)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4ADC #89DC4A
analogous
#544ADC #9D4ADC #DC4AD2
triadic
#9D4ADC #DC9D4A #4ADC9D
tetradic
#9D4ADC #DC544A #89DC4A #4AD2DC
square
#9D4ADC #DC544A #89DC4A #4AD2DC
split-complementary
#9D4ADC #D2DC4A #4ADC54
monochromatic
#5E1C90 #7F26C3 #9D4ADC #B97DE6 #D5B1F0

Accessibility & contrast

On white

4.72
#9D4ADC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9D4ADC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4ADC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4ADC#FFFFFF#000000##FFFFFF
##9D4ADC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#2674D9
Tritanopia (blue-blind)
#936A8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d4adc;
/* rgb */ color: rgb(157, 74, 220);
/* oklch */ color: oklch(58.3% 0.216 307.0);
Tailwind
colors: {
  custom: {
    50: '#be82e8',
    500: '#9d4adc',
    950: '#000000',
  },
}
SCSS
$custom: #9d4adc;
$custom-light: #be82e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4adc",
  "rgb": {
    "r": 157,
    "g": 74,
    "b": 220
  },
  "hsl": {
    "h": 274.11,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58251,
    "c": 0.21595,
    "h": 307
  },
  "luminance": 0.17233
}

Semantic roles & 50–950 ramp

primary
#9D4ADC
secondary
#BDDEA4
accent
#EA3D88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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