#9B6DFB#9B6DFB

#9B6DFB is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 64.9% C 0.203 H 295.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9B6DFB
RGBrgb(155, 109, 251)
HSLhsl(259, 95%, 71%)
HSVhsv(259, 57%, 98%)
CMYKcmyk(38.2%, 56.6%, 0%, 1.6%)
CIE-LABlab(56.95, 48.65, -64.75)
CIE-LCHlch(56.95, 80.99, 306.92°)
OKLaboklab(64.93% 0.0861 -0.184)
OKLCHoklch(64.93% 0.203 295.1)
XYZxyz(36.3942, 24.8701, 94.1310)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6DFB #CDFB6D
analogous
#6D86FB #9B6DFB #E26DFB
triadic
#9B6DFB #FB9B6D #6DFB9B
tetradic
#9B6DFB #FB6D86 #CDFB6D #6DFBE2
square
#9B6DFB #FB6D86 #CDFB6D #6DFBE2
split-complementary
#9B6DFB #FBE26D #86FB6D
monochromatic
#4F06E7 #7231F9 #9B6DFB #C4A9FD #EBE1FE

Accessibility & contrast

On white

3.52
#9B6DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#9B6DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B6DFB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B6DFB#FFFFFF#000000##000000
##9B6DFB1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E8AFF
Deuteranopia (green-blind)
#3287F8
Tritanopia (blue-blind)
#838BAA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9b6dfb;
/* rgb */ color: rgb(155, 109, 251);
/* oklch */ color: oklch(64.9% 0.203 295.1);
Tailwind
colors: {
  custom: {
    50: '#be98fd',
    500: '#9b6dfb',
    950: '#000000',
  },
}
SCSS
$custom: #9b6dfb;
$custom-light: #be98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6dfb",
  "rgb": {
    "r": 155,
    "g": 109,
    "b": 251
  },
  "hsl": {
    "h": 259.437,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64933,
    "c": 0.20314,
    "h": 295.1
  },
  "luminance": 0.24871
}

Semantic roles & 50–950 ramp

primary
#9B6DFB
secondary
#E9F5CF
accent
#E6009B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9B6DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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