#9E8AEE#9E8AEE

#9E8AEE is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.3% C 0.144 H 291.4°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9E8AEE
RGBrgb(158, 138, 238)
HSLhsl(252, 75%, 74%)
HSVhsv(252, 42%, 93%)
CMYKcmyk(33.6%, 42%, 0%, 6.7%)
CIE-LABlab(63.03, 29.70, -47.86)
CIE-LCHlch(63.03, 56.33, 301.82°)
OKLaboklab(69.31% 0.0526 -0.1344)
OKLCHoklch(69.31% 0.144 291.4)
XYZxyz(38.6176, 31.6182, 84.9406)
Luminance0.3162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8AEE #DAEE8A
analogous
#8AA8EE #9E8AEE #D08AEE
triadic
#9E8AEE #EE9E8A #8AEE9E
tetradic
#9E8AEE #EE8AA8 #DAEE8A #8AEED0
square
#9E8AEE #EE8AA8 #DAEE8A #8AEED0
split-complementary
#9E8AEE #EED08A #A8EE8A
monochromatic
#4620DD #7255E6 #9E8AEE #CABFF6 #E9E4FB

Accessibility & contrast

On white

2.87
#9E8AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#9E8AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E8AEE
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8AEE#FFFFFF#000000##000000
##9E8AEE1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF2
Deuteranopia (green-blind)
#6C96EC
Tritanopia (blue-blind)
#8B9DB1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9e8aee;
/* rgb */ color: rgb(158, 138, 238);
/* oklch */ color: oklch(69.3% 0.144 291.4);
Tailwind
colors: {
  custom: {
    50: '#bdacf4',
    500: '#9e8aee',
    950: '#000000',
  },
}
SCSS
$custom: #9e8aee;
$custom-light: #bdacf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8aee",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 252,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69305,
    "c": 0.14434,
    "h": 291.4
  },
  "luminance": 0.31619
}

Semantic roles & 50–950 ramp

primary
#9E8AEE
secondary
#EDF3D8
accent
#D70FAF
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9E8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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