#9A6EF6#9A6EF6

#9A6EF6 is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.7% C 0.196 H 295.3°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9A6EF6
RGBrgb(154, 110, 246)
HSLhsl(259, 88%, 70%)
HSVhsv(259, 55%, 96%)
CMYKcmyk(37.4%, 55.3%, 0%, 3.5%)
CIE-LABlab(56.76, 46.58, -62.30)
CIE-LCHlch(56.76, 77.79, 306.79°)
OKLaboklab(64.67% 0.0836 -0.1768)
OKLCHoklch(64.67% 0.196 295.3)
XYZxyz(35.5326, 24.6750, 90.0616)
Luminance0.2468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6EF6 #CAF66E
analogous
#6E86F6 #9A6EF6 #DE6EF6
triadic
#9A6EF6 #F69A6E #6EF69A
tetradic
#9A6EF6 #F66E86 #CAF66E #6EF6DE
square
#9A6EF6 #F66E86 #CAF66E #6EF6DE
split-complementary
#9A6EF6 #F6DE6E #86F66E
monochromatic
#500EDC #7234F2 #9A6EF6 #C2A8FA #EAE1FD

Accessibility & contrast

On white

3.54
#9A6EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#9A6EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6EF6
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6EF6#FFFFFF#000000##000000
##9A6EF61.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B89FB
Deuteranopia (green-blind)
#3A86F3
Tritanopia (blue-blind)
#848AA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9a6ef6;
/* rgb */ color: rgb(154, 110, 246);
/* oklch */ color: oklch(64.7% 0.196 295.3);
Tailwind
colors: {
  custom: {
    50: '#bd99fa',
    500: '#9a6ef6',
    950: '#000000',
  },
}
SCSS
$custom: #9a6ef6;
$custom-light: #bd99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6ef6",
  "rgb": {
    "r": 154,
    "g": 110,
    "b": 246
  },
  "hsl": {
    "h": 259.412,
    "s": 88.312,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64672,
    "c": 0.19559,
    "h": 295.3
  },
  "luminance": 0.24676
}

Semantic roles & 50–950 ramp

primary
#9A6EF6
secondary
#E7F3CD
accent
#E5019B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9A6EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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