#9D4CD9#9D4CD9

#9D4CD9 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.3% C 0.210 H 307.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9D4CD9
RGBrgb(157, 76, 217)
HSLhsl(274, 65%, 57%)
HSVhsv(274, 65%, 85%)
CMYKcmyk(27.6%, 65%, 0%, 14.9%)
CIE-LABlab(48.69, 57.79, -58.95)
CIE-LCHlch(48.69, 82.56, 314.43°)
OKLaboklab(58.29% 0.128 -0.1668)
OKLCHoklch(58.29% 0.21 307.5)
XYZxyz(29.0108, 17.3471, 67.4522)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CD9 #88D94C
analogous
#564CD9 #9D4CD9 #D94CCF
triadic
#9D4CD9 #D99D4C #4CD99D
tetradic
#9D4CD9 #D9564C #88D94C #4CCFD9
square
#9D4CD9 #D9564C #88D94C #4CCFD9
split-complementary
#9D4CD9 #CFD94C #4CD956
monochromatic
#5E1E8D #7F29BF #9D4CD9 #B97EE4 #D4B1EE

Accessibility & contrast

On white

4.70
#9D4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9D4CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4CD9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CD9#FFFFFF#000000##FFFFFF
##9D4CD91.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#2E74D6
Tritanopia (blue-blind)
#936A8C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d4cd9;
/* rgb */ color: rgb(157, 76, 217);
/* oklch */ color: oklch(58.3% 0.210 307.5);
Tailwind
colors: {
  custom: {
    50: '#be83e5',
    500: '#9d4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #9d4cd9;
$custom-light: #be83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4cd9",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 274.468,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58291,
    "c": 0.21025,
    "h": 307.5
  },
  "luminance": 0.17347
}

Semantic roles & 50–950 ramp

primary
#9D4CD9
secondary
#BCDDA4
accent
#E84087
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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