#9B6DF5#9B6DF5

#9B6DF5 is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.5% C 0.196 H 296.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9B6DF5
RGBrgb(155, 109, 245)
HSLhsl(260, 87%, 69%)
HSVhsv(260, 56%, 96%)
CMYKcmyk(36.7%, 55.5%, 0%, 3.9%)
CIE-LABlab(56.58, 47.10, -62.02)
CIE-LCHlch(56.58, 77.87, 307.22°)
OKLaboklab(64.55% 0.0861 -0.176)
OKLCHoklch(64.55% 0.196 296.1)
XYZxyz(35.4634, 24.4978, 89.2286)
Luminance0.2450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6DF5 #C7F56D
analogous
#6D83F5 #9B6DF5 #DF6DF5
triadic
#9B6DF5 #F59B6D #6DF59B
tetradic
#9B6DF5 #F56D83 #C7F56D #6DF5DF
square
#9B6DF5 #F56D83 #C7F56D #6DF5DF
split-complementary
#9B6DF5 #F5DF6D #83F56D
monochromatic
#530FD9 #7434F1 #9B6DF5 #C2A6F9 #E9E0FD

Accessibility & contrast

On white

3.56
#9B6DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#9B6DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B6DF5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B6DF5#FFFFFF#000000##000000
##9B6DF51.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B89FA
Deuteranopia (green-blind)
#3B86F2
Tritanopia (blue-blind)
#8689A7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9b6df5;
/* rgb */ color: rgb(155, 109, 245);
/* oklch */ color: oklch(64.5% 0.196 296.1);
Tailwind
colors: {
  custom: {
    50: '#bd98f9',
    500: '#9b6df5',
    950: '#000000',
  },
}
SCSS
$custom: #9b6df5;
$custom-light: #bd98f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6df5",
  "rgb": {
    "r": 155,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 260.294,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64547,
    "c": 0.19587,
    "h": 296.1
  },
  "luminance": 0.24498
}

Semantic roles & 50–950 ramp

primary
#9B6DF5
secondary
#E5F2CB
accent
#E40297
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9B6DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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