#9D5FCD#9D5FCD

#9D5FCD is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.2% C 0.170 H 308.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9D5FCD
RGBrgb(157, 95, 205)
HSLhsl(274, 52%, 59%)
HSVhsv(274, 54%, 80%)
CMYKcmyk(23.4%, 53.7%, 0%, 19.6%)
CIE-LABlab(51.57, 45.43, -47.50)
CIE-LCHlch(51.57, 65.73, 313.72°)
OKLaboklab(60.15% 0.1047 -0.1333)
OKLCHoklch(60.15% 0.17 308.1)
XYZxyz(29.0141, 19.7607, 60.0315)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5FCD #8FCD5F
analogous
#665FCD #9D5FCD #CD5FC6
triadic
#9D5FCD #CD9D5F #5FCD9D
tetradic
#9D5FCD #CD665F #8FCD5F #5FC6CD
square
#9D5FCD #CD665F #8FCD5F #5FC6CD
split-complementary
#9D5FCD #C6CD5F #5FCD66
monochromatic
#5F2A87 #7F39B6 #9D5FCD #BA8EDC #D6BCEA

Accessibility & contrast

On white

4.24
#9D5FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#9D5FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5FCD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5FCD#FFFFFF#000000##000000
##9D5FCD1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D1
Deuteranopia (green-blind)
#517CCA
Tritanopia (blue-blind)
#96738D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9d5fcd;
/* rgb */ color: rgb(157, 95, 205);
/* oklch */ color: oklch(60.2% 0.170 308.1);
Tailwind
colors: {
  custom: {
    50: '#bd8edd',
    500: '#9d5fcd',
    950: '#000000',
  },
}
SCSS
$custom: #9d5fcd;
$custom-light: #bd8edd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5fcd",
  "rgb": {
    "r": 157,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 273.818,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60153,
    "c": 0.16956,
    "h": 308.1
  },
  "luminance": 0.1976
}

Semantic roles & 50–950 ramp

primary
#9D5FCD
secondary
#C1DAAE
accent
#DC4C8B
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D5FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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