#9D4DDE#9D4DDE

#9D4DDE is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.8% C 0.214 H 306.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9D4DDE
RGBrgb(157, 77, 222)
HSLhsl(273, 69%, 59%)
HSVhsv(273, 65%, 87%)
CMYKcmyk(29.3%, 65.3%, 0%, 12.9%)
CIE-LABlab(49.19, 58.45, -60.99)
CIE-LCHlch(49.19, 84.48, 313.78°)
OKLaboklab(58.75% 0.1265 -0.1728)
OKLCHoklch(58.75% 0.214 306.2)
XYZxyz(29.7405, 17.7501, 70.9524)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4DDE #8EDE4D
analogous
#544DDE #9D4DDE #DE4DD7
triadic
#9D4DDE #DE9D4D #4DDE9D
tetradic
#9D4DDE #DE544D #8EDE4D #4DD7DE
square
#9D4DDE #DE544D #8EDE4D #4DD7DE
split-complementary
#9D4DDE #D7DE4D #4DDE54
monochromatic
#5F1C95 #7F25C9 #9D4DDE #B981E8 #D6B4F1

Accessibility & contrast

On white

4.62
#9D4DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9D4DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4DDE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4DDE#FFFFFF#000000##FFFFFF
##9D4DDE1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#2875DB
Tritanopia (blue-blind)
#926C8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d4dde;
/* rgb */ color: rgb(157, 77, 222);
/* oklch */ color: oklch(58.8% 0.214 306.2);
Tailwind
colors: {
  custom: {
    50: '#be84e9',
    500: '#9d4dde',
    950: '#000000',
  },
}
SCSS
$custom: #9d4dde;
$custom-light: #be84e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4dde",
  "rgb": {
    "r": 157,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 273.103,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58752,
    "c": 0.21414,
    "h": 306.2
  },
  "luminance": 0.1775
}

Semantic roles & 50–950 ramp

primary
#9D4DDE
secondary
#C0E0A7
accent
#EC3C8B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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