#9D4CDF#9D4CDF

#9D4CDF is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.7% C 0.216 H 306.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9D4CDF
RGBrgb(157, 76, 223)
HSLhsl(273, 70%, 59%)
HSVhsv(273, 66%, 87%)
CMYKcmyk(29.6%, 65.9%, 0%, 12.5%)
CIE-LABlab(49.09, 59.15, -61.73)
CIE-LCHlch(49.09, 85.49, 313.78°)
OKLaboklab(58.7% 0.1275 -0.175)
OKLCHoklch(58.7% 0.216 306.1)
XYZxyz(29.8055, 17.6650, 71.6372)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CDF #8EDF4C
analogous
#534CDF #9D4CDF #DF4CD7
triadic
#9D4CDF #DF9D4C #4CDF9D
tetradic
#9D4CDF #DF534C #8EDF4C #4CD7DF
square
#9D4CDF #DF534C #8EDF4C #4CD7DF
split-complementary
#9D4CDF #D7DF4C #4CDF53
monochromatic
#5F1B96 #7F24CA #9D4CDF #B980E8 #D6B4F2

Accessibility & contrast

On white

4.63
#9D4CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9D4CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4CDF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CDF#FFFFFF#000000##FFFFFF
##9D4CDF1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#2475DC
Tritanopia (blue-blind)
#926C8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d4cdf;
/* rgb */ color: rgb(157, 76, 223);
/* oklch */ color: oklch(58.7% 0.216 306.1);
Tailwind
colors: {
  custom: {
    50: '#bf83ea',
    500: '#9d4cdf',
    950: '#000000',
  },
}
SCSS
$custom: #9d4cdf;
$custom-light: #bf83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4cdf",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 273.061,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58698,
    "c": 0.21648,
    "h": 306.1
  },
  "luminance": 0.17665
}

Semantic roles & 50–950 ramp

primary
#9D4CDF
secondary
#C0E0A6
accent
#EC3B8B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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