#9D5CD3#9D5CD3

#9D5CD3 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.1% C 0.181 H 307.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9D5CD3
RGBrgb(157, 92, 211)
HSLhsl(273, 57%, 59%)
HSVhsv(273, 56%, 83%)
CMYKcmyk(25.6%, 56.4%, 0%, 17.3%)
CIE-LABlab(51.30, 48.41, -51.36)
CIE-LCHlch(51.30, 70.58, 313.31°)
OKLaboklab(60.06% 0.1089 -0.1446)
OKLCHoklch(60.06% 0.181 307)
XYZxyz(29.4872, 19.5259, 63.8308)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5CD3 #92D35C
analogous
#625CD3 #9D5CD3 #D35CCE
triadic
#9D5CD3 #D39D5C #5CD39D
tetradic
#9D5CD3 #D3625C #92D35C #5CCED3
square
#9D5CD3 #D3625C #92D35C #5CCED3
split-complementary
#9D5CD3 #CED35C #5CD362
monochromatic
#5F268E #7F33BE #9D5CD3 #BA8CE0 #D7BCED

Accessibility & contrast

On white

4.28
#9D5CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#9D5CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5CD3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5CD3#FFFFFF#000000##000000
##9D5CD31.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3178D7
Deuteranopia (green-blind)
#497BD0
Tritanopia (blue-blind)
#95728F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9d5cd3;
/* rgb */ color: rgb(157, 92, 211);
/* oklch */ color: oklch(60.1% 0.181 307.0);
Tailwind
colors: {
  custom: {
    50: '#bd8de1',
    500: '#9d5cd3',
    950: '#000000',
  },
}
SCSS
$custom: #9d5cd3;
$custom-light: #bd8de1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5cd3",
  "rgb": {
    "r": 157,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 272.773,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60064,
    "c": 0.18103,
    "h": 307
  },
  "luminance": 0.19526
}

Semantic roles & 50–950 ramp

primary
#9D5CD3
secondary
#C3DDAE
accent
#E1478D
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D5CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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