#9D5DED#9D5DED

#9D5DED is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.9% C 0.209 H 300.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9D5DED
RGBrgb(157, 93, 237)
HSLhsl(267, 80%, 65%)
HSVhsv(267, 61%, 93%)
CMYKcmyk(33.8%, 60.8%, 0%, 7.1%)
CIE-LABlab(53.07, 54.06, -63.20)
CIE-LCHlch(53.07, 83.17, 310.55°)
OKLaboklab(61.87% 0.1074 -0.1793)
OKLCHoklch(61.87% 0.209 300.9)
XYZxyz(33.1014, 21.1110, 82.4353)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5DED #ADED5D
analogous
#5D65ED #9D5DED #E55DED
triadic
#9D5DED #ED9D5D #5DED9D
tetradic
#9D5DED #ED5D65 #ADED5D #5DEDE5
square
#9D5DED #ED5D65 #ADED5D #5DEDE5
split-complementary
#9D5DED #EDE55D #65ED5D
monochromatic
#5F15BB #7C26E7 #9D5DED #BE94F3 #E0CBF9

Accessibility & contrast

On white

4.02
#9D5DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9D5DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5DED
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5DED#FFFFFF#000000##000000
##9D5DED1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#2C7EEA
Tritanopia (blue-blind)
#8C7C9C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9d5ded;
/* rgb */ color: rgb(157, 93, 237);
/* oklch */ color: oklch(61.9% 0.209 300.9);
Tailwind
colors: {
  custom: {
    50: '#bf8ef4',
    500: '#9d5ded',
    950: '#000000',
  },
}
SCSS
$custom: #9d5ded;
$custom-light: #bf8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5ded",
  "rgb": {
    "r": 157,
    "g": 93,
    "b": 237
  },
  "hsl": {
    "h": 266.667,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61866,
    "c": 0.20907,
    "h": 300.9
  },
  "luminance": 0.21111
}

Semantic roles & 50–950 ramp

primary
#9D5DED
secondary
#D6ECBA
accent
#DC097E
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D5DED

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

Preview Lab → · Contrast checker → · Palette generator →

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