#9D5DF0#9D5DF0

#9D5DF0 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.1% C 0.212 H 300.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9D5DF0
RGBrgb(157, 93, 240)
HSLhsl(266, 83%, 65%)
HSVhsv(266, 61%, 94%)
CMYKcmyk(34.6%, 61.2%, 0%, 5.9%)
CIE-LABlab(53.26, 54.79, -64.56)
CIE-LCHlch(53.26, 84.68, 310.32°)
OKLaboklab(62.07% 0.1073 -0.1834)
OKLCHoklch(62.07% 0.212 300.3)
XYZxyz(33.5433, 21.2878, 84.7629)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5DF0 #B0F05D
analogous
#5D67F0 #9D5DF0 #E65DF0
triadic
#9D5DF0 #F09D5D #5DF09D
tetradic
#9D5DF0 #F05D67 #B0F05D #5DF0E6
square
#9D5DF0 #F05D67 #B0F05D #5DF0E6
split-complementary
#9D5DF0 #F0E65D #67F05D
monochromatic
#5E12C1 #7B25EB #9D5DF0 #BF95F5 #E1CDFA

Accessibility & contrast

On white

3.99
#9D5DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9D5DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5DF0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5DF0#FFFFFF#000000##000000
##9D5DF01.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF5
Deuteranopia (green-blind)
#267EED
Tritanopia (blue-blind)
#8B7D9E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9d5df0;
/* rgb */ color: rgb(157, 93, 240);
/* oklch */ color: oklch(62.1% 0.212 300.3);
Tailwind
colors: {
  custom: {
    50: '#bf8ef6',
    500: '#9d5df0',
    950: '#000000',
  },
}
SCSS
$custom: #9d5df0;
$custom-light: #bf8ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5df0",
  "rgb": {
    "r": 157,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 266.122,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62066,
    "c": 0.21245,
    "h": 300.3
  },
  "luminance": 0.21288
}

Semantic roles & 50–950 ramp

primary
#9D5DF0
secondary
#D8EDBC
accent
#DF0681
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D5DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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