#9E6AEB#9E6AEB

#9E6AEB is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.7% C 0.189 H 299.6°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9E6AEB
RGBrgb(158, 106, 235)
HSLhsl(264, 76%, 67%)
HSVhsv(264, 55%, 92%)
CMYKcmyk(32.8%, 54.9%, 0%, 7.8%)
CIE-LABlab(55.66, 46.91, -57.91)
CIE-LCHlch(55.66, 74.53, 309.01°)
OKLaboklab(63.75% 0.0932 -0.1638)
OKLCHoklch(63.75% 0.189 299.6)
XYZxyz(34.2464, 23.5751, 81.3274)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6AEB #B7EB6A
analogous
#6A77EB #9E6AEB #DE6AEB
triadic
#9E6AEB #EB9E6A #6AEB9E
tetradic
#9E6AEB #EB6A77 #B7EB6A #6AEBDE
square
#9E6AEB #EB6A77 #B7EB6A #6AEBDE
split-complementary
#9E6AEB #EBDE6A #77EB6A
monochromatic
#5D1AC1 #7B34E4 #9E6AEB #C1A0F2 #E4D6F9

Accessibility & contrast

On white

3.67
#9E6AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#9E6AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6AEB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6AEB#FFFFFF#000000##000000
##9E6AEB1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385EF
Deuteranopia (green-blind)
#4584E8
Tritanopia (blue-blind)
#8E84A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9e6aeb;
/* rgb */ color: rgb(158, 106, 235);
/* oklch */ color: oklch(63.7% 0.189 299.6);
Tailwind
colors: {
  custom: {
    50: '#be96f2',
    500: '#9e6aeb',
    950: '#000000',
  },
}
SCSS
$custom: #9e6aeb;
$custom-light: #be96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6aeb",
  "rgb": {
    "r": 158,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 264.186,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63745,
    "c": 0.1885,
    "h": 299.6
  },
  "luminance": 0.23575
}

Semantic roles & 50–950 ramp

primary
#9E6AEB
secondary
#DCEDC4
accent
#D90D86
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #9E6AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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