#9A6BF6#9A6BF6

#9A6BF6 is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.2% C 0.200 H 295.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9A6BF6
RGBrgb(154, 107, 246)
HSLhsl(260, 89%, 69%)
HSVhsv(260, 57%, 96%)
CMYKcmyk(37.4%, 56.5%, 0%, 3.5%)
CIE-LABlab(56.13, 48.22, -63.31)
CIE-LCHlch(56.13, 79.58, 307.30°)
OKLaboklab(64.21% 0.0872 -0.1798)
OKLCHoklch(64.21% 0.2 295.9)
XYZxyz(35.2144, 24.0386, 89.9555)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6BF6 #C7F66B
analogous
#6B82F6 #9A6BF6 #E06BF6
triadic
#9A6BF6 #F69A6B #6BF69A
tetradic
#9A6BF6 #F66B82 #C7F66B #6BF6E0
square
#9A6BF6 #F66B82 #C7F66B #6BF6E0
split-complementary
#9A6BF6 #F6E06B #82F66B
monochromatic
#520DD9 #7331F2 #9A6BF6 #C1A5FA #E9DEFD

Accessibility & contrast

On white

3.62
#9A6BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#9A6BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6BF6
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6BF6#FFFFFF#000000##000000
##9A6BF61.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2187FB
Deuteranopia (green-blind)
#3585F3
Tritanopia (blue-blind)
#8488A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9a6bf6;
/* rgb */ color: rgb(154, 107, 246);
/* oklch */ color: oklch(64.2% 0.200 295.9);
Tailwind
colors: {
  custom: {
    50: '#bd97fa',
    500: '#9a6bf6',
    950: '#000000',
  },
}
SCSS
$custom: #9a6bf6;
$custom-light: #bd97fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6bf6",
  "rgb": {
    "r": 154,
    "g": 107,
    "b": 246
  },
  "hsl": {
    "h": 260.288,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64207,
    "c": 0.1998,
    "h": 295.9
  },
  "luminance": 0.24039
}

Semantic roles & 50–950 ramp

primary
#9A6BF6
secondary
#E5F3CA
accent
#E50098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9A6BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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