#9A6AEB#9A6AEB

#9A6AEB is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.4% C 0.188 H 298.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9A6AEB
RGBrgb(154, 106, 235)
HSLhsl(262, 76%, 67%)
HSVhsv(262, 55%, 92%)
CMYKcmyk(34.5%, 54.9%, 0%, 7.8%)
CIE-LABlab(55.25, 45.96, -58.59)
CIE-LCHlch(55.25, 74.47, 308.12°)
OKLaboklab(63.35% 0.0882 -0.1659)
OKLCHoklch(63.35% 0.188 298)
XYZxyz(33.4721, 23.1758, 81.2911)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6AEB #BBEB6A
analogous
#6A7BEB #9A6AEB #DB6AEB
triadic
#9A6AEB #EB9A6A #6AEB9A
tetradic
#9A6AEB #EB6A7B #BBEB6A #6AEBDB
square
#9A6AEB #EB6A7B #BBEB6A #6AEBDB
split-complementary
#9A6AEB #EBDB6A #7BEB6A
monochromatic
#581AC1 #7534E4 #9A6AEB #BFA0F2 #E3D6F9

Accessibility & contrast

On white

3.73
#9A6AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#9A6AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6AEB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6AEB#FFFFFF#000000##000000
##9A6AEB1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3185EF
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#8884A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9a6aeb;
/* rgb */ color: rgb(154, 106, 235);
/* oklch */ color: oklch(63.4% 0.188 298.0);
Tailwind
colors: {
  custom: {
    50: '#bc96f2',
    500: '#9a6aeb',
    950: '#000000',
  },
}
SCSS
$custom: #9a6aeb;
$custom-light: #bc96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6aeb",
  "rgb": {
    "r": 154,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 262.326,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63352,
    "c": 0.18792,
    "h": 298
  },
  "luminance": 0.23176
}

Semantic roles & 50–950 ramp

primary
#9A6AEB
secondary
#DEEDC4
accent
#D90D8D
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9A6AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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