#9D50DC#9D50DC

#9D50DC is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.0% C 0.208 H 306.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9D50DC
RGBrgb(157, 80, 220)
HSLhsl(273, 67%, 59%)
HSVhsv(273, 64%, 86%)
CMYKcmyk(28.6%, 63.6%, 0%, 13.7%)
CIE-LABlab(49.58, 56.56, -59.22)
CIE-LCHlch(49.58, 81.89, 313.68°)
OKLaboklab(58.99% 0.1233 -0.1676)
OKLCHoklch(58.99% 0.208 306.3)
XYZxyz(29.6888, 18.0730, 69.6207)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D50DC #8FDC50
analogous
#5750DC #9D50DC #DC50D5
triadic
#9D50DC #DC9D50 #50DC9D
tetradic
#9D50DC #DC5750 #8FDC50 #50D5DC
square
#9D50DC #DC5750 #8FDC50 #50D5DC
split-complementary
#9D50DC #D5DC50 #50DC57
monochromatic
#5F1E94 #7F28C7 #9D50DC #BA83E6 #D6B6F0

Accessibility & contrast

On white

4.55
#9D50DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9D50DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D50DC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D50DC#FFFFFF#000000##000000
##9D50DC1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#3076D9
Tritanopia (blue-blind)
#926D8F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d50dc;
/* rgb */ color: rgb(157, 80, 220);
/* oklch */ color: oklch(59.0% 0.208 306.3);
Tailwind
colors: {
  custom: {
    50: '#be85e8',
    500: '#9d50dc',
    950: '#000000',
  },
}
SCSS
$custom: #9d50dc;
$custom-light: #be85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d50dc",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 273,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58994,
    "c": 0.20807,
    "h": 306.3
  },
  "luminance": 0.18073
}

Semantic roles & 50–950 ramp

primary
#9D50DC
secondary
#C1DFA8
accent
#EA3E8B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D50DC

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

Preview Lab → · Contrast checker → · Palette generator →

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