#9D5DF6#9D5DF6

#9D5DF6 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.5% C 0.219 H 299.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9D5DF6
RGBrgb(157, 93, 246)
HSLhsl(265, 89%, 66%)
HSVhsv(265, 62%, 96%)
CMYKcmyk(36.2%, 62.2%, 0%, 3.5%)
CIE-LABlab(53.65, 56.26, -67.28)
CIE-LCHlch(53.65, 87.70, 309.90°)
OKLaboklab(62.47% 0.1069 -0.1913)
OKLCHoklch(62.47% 0.219 299.2)
XYZxyz(34.4494, 21.6503, 89.5349)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5DF6 #B6F65D
analogous
#5D6AF6 #9D5DF6 #EA5DF6
triadic
#9D5DF6 #F69D5D #5DF69D
tetradic
#9D5DF6 #F65D6A #B6F65D #5DF6EA
square
#9D5DF6 #F65D6A #B6F65D #5DF6EA
split-complementary
#9D5DF6 #F6EA5D #6AF65D
monochromatic
#5C0BCD #7A23F3 #9D5DF6 #C097F9 #E3D1FC

Accessibility & contrast

On white

3.94
#9D5DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#9D5DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5DF6
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5DF6#FFFFFF#000000##000000
##9D5DF61.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FB
Deuteranopia (green-blind)
#167FF3
Tritanopia (blue-blind)
#897FA1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9d5df6;
/* rgb */ color: rgb(157, 93, 246);
/* oklch */ color: oklch(62.5% 0.219 299.2);
Tailwind
colors: {
  custom: {
    50: '#bf8efa',
    500: '#9d5df6',
    950: '#000000',
  },
}
SCSS
$custom: #9d5df6;
$custom-light: #bf8efa;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5df6",
  "rgb": {
    "r": 157,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 265.098,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62474,
    "c": 0.2192,
    "h": 299.2
  },
  "luminance": 0.21651
}

Semantic roles & 50–950 ramp

primary
#9D5DF6
secondary
#DBF0BF
accent
#E60086
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D5DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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