#9B5DF6#9B5DF6

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

Color values

HEX#9B5DF6
RGBrgb(155, 93, 246)
HSLhsl(264, 89%, 66%)
HSVhsv(264, 62%, 96%)
CMYKcmyk(37%, 62.2%, 0%, 3.5%)
CIE-LABlab(53.44, 55.85, -67.64)
CIE-LCHlch(53.44, 87.71, 309.55°)
OKLaboklab(62.27% 0.1043 -0.1925)
OKLCHoklch(62.27% 0.219 298.5)
XYZxyz(34.0623, 21.4506, 89.5167)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5DF6 #B8F65D
analogous
#5D6CF6 #9B5DF6 #E85DF6
triadic
#9B5DF6 #F69B5D #5DF69B
tetradic
#9B5DF6 #F65D6C #B8F65D #5DF6E8
square
#9B5DF6 #F65D6C #B8F65D #5DF6E8
split-complementary
#9B5DF6 #F6E85D #6CF65D
monochromatic
#5A0BCD #7723F3 #9B5DF6 #BF97F9 #E3D1FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B5DF6#FFFFFF#000000##000000
##9B5DF61.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)
#0080FB
Deuteranopia (green-blind)
#0E7EF3
Tritanopia (blue-blind)
#867FA1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9b5df6;
/* rgb */ color: rgb(155, 93, 246);
/* oklch */ color: oklch(62.3% 0.219 298.5);
Tailwind
colors: {
  custom: {
    50: '#be8efa',
    500: '#9b5df6',
    950: '#000000',
  },
}
SCSS
$custom: #9b5df6;
$custom-light: #be8efa;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5df6",
  "rgb": {
    "r": 155,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 264.314,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6227,
    "c": 0.21893,
    "h": 298.5
  },
  "luminance": 0.21451
}

Semantic roles & 50–950 ramp

primary
#9B5DF6
secondary
#DCF0BF
accent
#E60088
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B5DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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