#9D5DF7#9D5DF7

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

Color values

HEX#9D5DF7
RGBrgb(157, 93, 247)
HSLhsl(265, 91%, 67%)
HSVhsv(265, 62%, 97%)
CMYKcmyk(36.4%, 62.3%, 0%, 3.1%)
CIE-LABlab(53.72, 56.51, -67.73)
CIE-LCHlch(53.72, 88.21, 309.84°)
OKLaboklab(62.54% 0.1069 -0.1927)
OKLCHoklch(62.54% 0.22 299)
XYZxyz(34.6033, 21.7118, 90.3454)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5DF7 #B7F75D
analogous
#5D6AF7 #9D5DF7 #EA5DF7
triadic
#9D5DF7 #F79D5D #5DF79D
tetradic
#9D5DF7 #F75D6A #B7F75D #5DF7EA
square
#9D5DF7 #F75D6A #B7F75D #5DF7EA
split-complementary
#9D5DF7 #F7EA5D #6AF75D
monochromatic
#5C0ACF #7A23F4 #9D5DF7 #C097FA #E4D2FD

Accessibility & contrast

On white

3.93
#9D5DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#9D5DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5DF7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5DF7#FFFFFF#000000##000000
##9D5DF71.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FC
Deuteranopia (green-blind)
#127FF4
Tritanopia (blue-blind)
#897FA2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9d5df7;
/* rgb */ color: rgb(157, 93, 247);
/* oklch */ color: oklch(62.5% 0.220 299.0);
Tailwind
colors: {
  custom: {
    50: '#bf8efb',
    500: '#9d5df7',
    950: '#000000',
  },
}
SCSS
$custom: #9d5df7;
$custom-light: #bf8efb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5df7",
  "rgb": {
    "r": 157,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 264.935,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62543,
    "c": 0.22032,
    "h": 299
  },
  "luminance": 0.21712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D5DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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