#9D5DF3#9D5DF3

#9D5DF3 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.3% C 0.216 H 299.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9D5DF3
RGBrgb(157, 93, 243)
HSLhsl(266, 86%, 66%)
HSVhsv(266, 62%, 95%)
CMYKcmyk(35.4%, 61.7%, 0%, 4.7%)
CIE-LABlab(53.46, 55.52, -65.93)
CIE-LCHlch(53.46, 86.19, 310.11°)
OKLaboklab(62.27% 0.1071 -0.1874)
OKLCHoklch(62.27% 0.216 299.8)
XYZxyz(33.9927, 21.4676, 87.1294)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5DF3 #B3F35D
analogous
#5D68F3 #9D5DF3 #E85DF3
triadic
#9D5DF3 #F39D5D #5DF39D
tetradic
#9D5DF3 #F35D68 #B3F35D #5DF3E8
square
#9D5DF3 #F35D68 #B3F35D #5DF3E8
split-complementary
#9D5DF3 #F3E85D #68F35D
monochromatic
#5D0FC7 #7B24EF #9D5DF3 #BF96F7 #E2CFFB

Accessibility & contrast

On white

3.97
#9D5DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#9D5DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5DF3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5DF3#FFFFFF#000000##000000
##9D5DF31.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF8
Deuteranopia (green-blind)
#1F7FF0
Tritanopia (blue-blind)
#8A7EA0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9d5df3;
/* rgb */ color: rgb(157, 93, 243);
/* oklch */ color: oklch(62.3% 0.216 299.8);
Tailwind
colors: {
  custom: {
    50: '#bf8ef8',
    500: '#9d5df3',
    950: '#000000',
  },
}
SCSS
$custom: #9d5df3;
$custom-light: #bf8ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5df3",
  "rgb": {
    "r": 157,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 265.6,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62269,
    "c": 0.21583,
    "h": 299.8
  },
  "luminance": 0.21468
}

Semantic roles & 50–950 ramp

primary
#9D5DF3
secondary
#DAEFBD
accent
#E30383
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D5DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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