#9B5DFD#9B5DFD

#9B5DFD is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.8% C 0.227 H 297.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9B5DFD
RGBrgb(155, 93, 253)
HSLhsl(263, 98%, 68%)
HSVhsv(263, 63%, 99%)
CMYKcmyk(38.7%, 63.2%, 0%, 0.8%)
CIE-LABlab(53.91, 57.59, -70.77)
CIE-LCHlch(53.91, 91.24, 309.14°)
OKLaboklab(62.76% 0.1038 -0.2017)
OKLCHoklch(62.76% 0.227 297.2)
XYZxyz(35.1570, 21.8885, 95.2821)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5DFD #BFFD5D
analogous
#5D6FFD #9B5DFD #EB5DFD
triadic
#9B5DFD #FD9B5D #5DFD9B
tetradic
#9B5DFD #FD5D6F #BFFD5D #5DFDEB
square
#9B5DFD #FD5D6F #BFFD5D #5DFDEB
split-complementary
#9B5DFD #FDEB5D #6FFD5D
monochromatic
#5703DD #7621FC #9B5DFD #C099FE #E6D6FE

Accessibility & contrast

On white

3.90
#9B5DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#9B5DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5DFD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5DFD#FFFFFF#000000##000000
##9B5DFD1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#007FFA
Tritanopia (blue-blind)
#8381A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9b5dfd;
/* rgb */ color: rgb(155, 93, 253);
/* oklch */ color: oklch(62.8% 0.227 297.2);
Tailwind
colors: {
  custom: {
    50: '#bf8eff',
    500: '#9b5dfd',
    950: '#000000',
  },
}
SCSS
$custom: #9b5dfd;
$custom-light: #bf8eff;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5dfd",
  "rgb": {
    "r": 155,
    "g": 93,
    "b": 253
  },
  "hsl": {
    "h": 263.25,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62758,
    "c": 0.2268,
    "h": 297.2
  },
  "luminance": 0.21889
}

Semantic roles & 50–950 ramp

primary
#9B5DFD
secondary
#E0F4C2
accent
#E6008D
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #9B5DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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