#9B6AFB#9B6AFB

#9B6AFB is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.5% C 0.207 H 295.6°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9B6AFB
RGBrgb(155, 106, 251)
HSLhsl(260, 95%, 70%)
HSVhsv(260, 58%, 98%)
CMYKcmyk(38.2%, 57.8%, 0%, 1.6%)
CIE-LABlab(56.33, 50.27, -65.75)
CIE-LCHlch(56.33, 82.77, 307.40°)
OKLaboklab(64.48% 0.0895 -0.1869)
OKLCHoklch(64.48% 0.207 295.6)
XYZxyz(36.0797, 24.2410, 94.0261)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6AFB #CAFB6A
analogous
#6A81FB #9B6AFB #E46AFB
triadic
#9B6AFB #FB9B6A #6AFB9B
tetradic
#9B6AFB #FB6A81 #CAFB6A #6AFBE4
square
#9B6AFB #FB6A81 #CAFB6A #6AFBE4
split-complementary
#9B6AFB #FBE46A #81FB6A
monochromatic
#5106E4 #732EF9 #9B6AFB #C3A6FD #EBE1FE

Accessibility & contrast

On white

3.59
#9B6AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#9B6AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B6AFB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B6AFB#FFFFFF#000000##000000
##9B6AFB1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D88FF
Deuteranopia (green-blind)
#2B85F8
Tritanopia (blue-blind)
#8389A9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9b6afb;
/* rgb */ color: rgb(155, 106, 251);
/* oklch */ color: oklch(64.5% 0.207 295.6);
Tailwind
colors: {
  custom: {
    50: '#be96fd',
    500: '#9b6afb',
    950: '#000000',
  },
}
SCSS
$custom: #9b6afb;
$custom-light: #be96fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6afb",
  "rgb": {
    "r": 155,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 260.276,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.64478,
    "c": 0.20727,
    "h": 295.6
  },
  "luminance": 0.24242
}

Semantic roles & 50–950 ramp

primary
#9B6AFB
secondary
#E7F5CC
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9B6AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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