#9B6DF3#9B6DF3

#9B6DF3 is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.4% C 0.193 H 296.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9B6DF3
RGBrgb(155, 109, 243)
HSLhsl(261, 85%, 69%)
HSVhsv(261, 55%, 95%)
CMYKcmyk(36.2%, 55.1%, 0%, 4.7%)
CIE-LABlab(56.46, 46.59, -61.10)
CIE-LCHlch(56.46, 76.83, 307.33°)
OKLaboklab(64.42% 0.086 -0.1733)
OKLCHoklch(64.42% 0.193 296.4)
XYZxyz(35.1598, 24.3763, 87.6293)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6DF3 #C5F36D
analogous
#6D82F3 #9B6DF3 #DE6DF3
triadic
#9B6DF3 #F39B6D #6DF39B
tetradic
#9B6DF3 #F36D82 #C5F36D #6DF3DE
square
#9B6DF3 #F36D82 #C5F36D #6DF3DE
split-complementary
#9B6DF3 #F3DE6D #82F36D
monochromatic
#5411D4 #7434EE #9B6DF3 #C2A6F8 #E8DEFC

Accessibility & contrast

On white

3.57
#9B6DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#9B6DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B6DF3
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B6DF3#FFFFFF#000000##000000
##9B6DF31.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E88F7
Deuteranopia (green-blind)
#3E86F0
Tritanopia (blue-blind)
#8689A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9b6df3;
/* rgb */ color: rgb(155, 109, 243);
/* oklch */ color: oklch(64.4% 0.193 296.4);
Tailwind
colors: {
  custom: {
    50: '#bd98f8',
    500: '#9b6df3',
    950: '#000000',
  },
}
SCSS
$custom: #9b6df3;
$custom-light: #bd98f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6df3",
  "rgb": {
    "r": 155,
    "g": 109,
    "b": 243
  },
  "hsl": {
    "h": 260.597,
    "s": 84.81,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6442,
    "c": 0.19345,
    "h": 296.4
  },
  "luminance": 0.24377
}

Semantic roles & 50–950 ramp

primary
#9B6DF3
secondary
#E4F2CA
accent
#E10495
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9B6DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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