#9D5ADC#9D5ADC

#9D5ADC is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.3% C 0.194 H 305.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9D5ADC
RGBrgb(157, 90, 220)
HSLhsl(271, 65%, 61%)
HSVhsv(271, 59%, 86%)
CMYKcmyk(28.6%, 59.1%, 0%, 13.7%)
CIE-LABlab(51.44, 51.55, -56.25)
CIE-LCHlch(51.44, 76.30, 312.50°)
OKLaboklab(60.34% 0.1115 -0.1589)
OKLCHoklch(60.34% 0.194 305)
XYZxyz(30.4762, 19.6479, 69.8832)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5ADC #99DC5A
analogous
#5C5ADC #9D5ADC #DC5ADA
triadic
#9D5ADC #DC9D5A #5ADC9D
tetradic
#9D5ADC #DC5C5A #99DC5A #5ADADC
square
#9D5ADC #DC5C5A #99DC5A #5ADADC
split-complementary
#9D5ADC #DADC5A #5ADC5C
monochromatic
#60219B #7F2CCD #9D5ADC #BB8CE7 #D9BFF1

Accessibility & contrast

On white

4.26
#9D5ADC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#9D5ADC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5ADC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5ADC#FFFFFF#000000##000000
##9D5ADC1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D79E0
Deuteranopia (green-blind)
#3E7BD9
Tritanopia (blue-blind)
#927493
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9d5adc;
/* rgb */ color: rgb(157, 90, 220);
/* oklch */ color: oklch(60.3% 0.194 305.0);
Tailwind
colors: {
  custom: {
    50: '#be8ce7',
    500: '#9d5adc',
    950: '#000000',
  },
}
SCSS
$custom: #9d5adc;
$custom-light: #be8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5adc",
  "rgb": {
    "r": 157,
    "g": 90,
    "b": 220
  },
  "hsl": {
    "h": 270.923,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60338,
    "c": 0.19414,
    "h": 305
  },
  "luminance": 0.19648
}

Semantic roles & 50–950 ramp

primary
#9D5ADC
secondary
#C8E2B0
accent
#CD1970
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9D5ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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