#9B6CF5#9B6CF5

#9B6CF5 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.4% C 0.197 H 296.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9B6CF5
RGBrgb(155, 108, 245)
HSLhsl(261, 87%, 69%)
HSVhsv(261, 56%, 96%)
CMYKcmyk(36.7%, 55.9%, 0%, 3.9%)
CIE-LABlab(56.37, 47.65, -62.35)
CIE-LCHlch(56.37, 78.47, 307.38°)
OKLaboklab(64.39% 0.0872 -0.1769)
OKLCHoklch(64.39% 0.197 296.2)
XYZxyz(35.3573, 24.2856, 89.1933)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6CF5 #C6F56C
analogous
#6C82F5 #9B6CF5 #E06CF5
triadic
#9B6CF5 #F59B6C #6CF59B
tetradic
#9B6CF5 #F56C82 #C6F56C #6CF5E0
square
#9B6CF5 #F56C82 #C6F56C #6CF5E0
split-complementary
#9B6CF5 #F5E06C #82F56C
monochromatic
#540FD8 #7433F1 #9B6CF5 #C2A5F9 #E9DFFD

Accessibility & contrast

On white

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

On black

5.86
#9B6CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B6CF5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B6CF5#FFFFFF#000000##000000
##9B6CF51.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2788FA
Deuteranopia (green-blind)
#3985F2
Tritanopia (blue-blind)
#8689A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9b6cf5;
/* rgb */ color: rgb(155, 108, 245);
/* oklch */ color: oklch(64.4% 0.197 296.2);
Tailwind
colors: {
  custom: {
    50: '#bd98f9',
    500: '#9b6cf5',
    950: '#000000',
  },
}
SCSS
$custom: #9b6cf5;
$custom-light: #bd98f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6cf5",
  "rgb": {
    "r": 155,
    "g": 108,
    "b": 245
  },
  "hsl": {
    "h": 260.584,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64392,
    "c": 0.19728,
    "h": 296.2
  },
  "luminance": 0.24286
}

Semantic roles & 50–950 ramp

primary
#9B6CF5
secondary
#E5F2CA
accent
#E40296
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9B6CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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