#9D50DA#9D50DA

#9D50DA is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.9% C 0.206 H 306.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9D50DA
RGBrgb(157, 80, 218)
HSLhsl(273, 65%, 58%)
HSVhsv(273, 63%, 85%)
CMYKcmyk(28%, 63.3%, 0%, 14.5%)
CIE-LABlab(49.46, 56.10, -58.29)
CIE-LCHlch(49.46, 80.91, 313.90°)
OKLaboklab(58.86% 0.1234 -0.1649)
OKLCHoklch(58.86% 0.206 306.8)
XYZxyz(29.4255, 17.9677, 68.2340)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D50DA #8DDA50
analogous
#5850DA #9D50DA #DA50D2
triadic
#9D50DA #DA9D50 #50DA9D
tetradic
#9D50DA #DA5850 #8DDA50 #50D2DA
square
#9D50DA #DA5850 #8DDA50 #50D2DA
split-complementary
#9D50DA #D2DA50 #50DA58
monochromatic
#5E1F91 #7F29C3 #9D50DA #B983E5 #D6B5EF

Accessibility & contrast

On white

4.57
#9D50DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9D50DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D50DA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D50DA#FFFFFF#000000##000000
##9D50DA1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#3376D7
Tritanopia (blue-blind)
#936D8E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d50da;
/* rgb */ color: rgb(157, 80, 218);
/* oklch */ color: oklch(58.9% 0.206 306.8);
Tailwind
colors: {
  custom: {
    50: '#be85e6',
    500: '#9d50da',
    950: '#000000',
  },
}
SCSS
$custom: #9d50da;
$custom-light: #be85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d50da",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 218
  },
  "hsl": {
    "h": 273.478,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58861,
    "c": 0.20594,
    "h": 306.8
  },
  "luminance": 0.17967
}

Semantic roles & 50–950 ramp

primary
#9D50DA
secondary
#C0DEA8
accent
#E8408A
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D50DA

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

Preview Lab → · Contrast checker → · Palette generator →

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