#9E6AEF#9E6AEF

#9E6AEF is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.0% C 0.193 H 298.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9E6AEF
RGBrgb(158, 106, 239)
HSLhsl(263, 81%, 68%)
HSVhsv(263, 56%, 94%)
CMYKcmyk(33.9%, 55.6%, 0%, 6.3%)
CIE-LABlab(55.90, 47.91, -59.77)
CIE-LCHlch(55.90, 76.60, 308.72°)
OKLaboklab(64% 0.0933 -0.1693)
OKLCHoklch(64% 0.193 298.9)
XYZxyz(34.8308, 23.8088, 84.4051)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6AEF #BBEF6A
analogous
#6A78EF #9E6AEF #E16AEF
triadic
#9E6AEF #EF9E6A #6AEF9E
tetradic
#9E6AEF #EF6A78 #BBEF6A #6AEFE1
square
#9E6AEF #EF6A78 #BBEF6A #6AEFE1
split-complementary
#9E6AEF #EFE16A #78EF6A
monochromatic
#5C16C9 #7A33E9 #9E6AEF #C2A1F5 #E6D9FB

Accessibility & contrast

On white

3.64
#9E6AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#9E6AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6AEF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6AEF#FFFFFF#000000##000000
##9E6AEF1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E86F3
Deuteranopia (green-blind)
#4185EC
Tritanopia (blue-blind)
#8C85A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9e6aef;
/* rgb */ color: rgb(158, 106, 239);
/* oklch */ color: oklch(64.0% 0.193 298.9);
Tailwind
colors: {
  custom: {
    50: '#bf96f5',
    500: '#9e6aef',
    950: '#000000',
  },
}
SCSS
$custom: #9e6aef;
$custom-light: #bf96f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6aef",
  "rgb": {
    "r": 158,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 263.459,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63995,
    "c": 0.19329,
    "h": 298.9
  },
  "luminance": 0.23809
}

Semantic roles & 50–950 ramp

primary
#9E6AEF
secondary
#DFEFC6
accent
#DD098A
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #9E6AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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