#9E8AEB#9E8AEB

#9E8AEB is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.1% C 0.140 H 291.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9E8AEB
RGBrgb(158, 138, 235)
HSLhsl(252, 71%, 73%)
HSVhsv(252, 41%, 92%)
CMYKcmyk(32.8%, 41.3%, 0%, 7.8%)
CIE-LABlab(62.88, 28.92, -46.43)
CIE-LCHlch(62.88, 54.71, 301.92°)
OKLaboklab(69.15% 0.0521 -0.1303)
OKLCHoklch(69.15% 0.14 291.8)
XYZxyz(38.1806, 31.4434, 82.6387)
Luminance0.3144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8AEB #D7EB8A
analogous
#8AA6EB #9E8AEB #CE8AEB
triadic
#9E8AEB #EB9E8A #8AEB9E
tetradic
#9E8AEB #EB8AA6 #D7EB8A #8AEBCE
square
#9E8AEB #EB8AA6 #D7EB8A #8AEBCE
split-complementary
#9E8AEB #EBCE8A #A6EB8A
monochromatic
#4925D6 #7356E2 #9E8AEB #C9BEF4 #E9E5FB

Accessibility & contrast

On white

2.88
#9E8AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#9E8AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E8AEB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8AEB#FFFFFF#000000##000000
##9E8AEB1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AEF
Deuteranopia (green-blind)
#6E96E9
Tritanopia (blue-blind)
#8C9CAF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9e8aeb;
/* rgb */ color: rgb(158, 138, 235);
/* oklch */ color: oklch(69.1% 0.140 291.8);
Tailwind
colors: {
  custom: {
    50: '#bdacf2',
    500: '#9e8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #9e8aeb;
$custom-light: #bdacf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8aeb",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 252.371,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69147,
    "c": 0.1403,
    "h": 291.8
  },
  "luminance": 0.31444
}

Semantic roles & 50–950 ramp

primary
#9E8AEB
secondary
#EDF2D9
accent
#D313AB
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9E8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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