#9E8AEC#9E8AEC

#9E8AEC is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.2% C 0.142 H 291.6°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9E8AEC
RGBrgb(158, 138, 236)
HSLhsl(252, 72%, 73%)
HSVhsv(252, 42%, 93%)
CMYKcmyk(33.1%, 41.5%, 0%, 7.5%)
CIE-LABlab(62.93, 29.18, -46.91)
CIE-LCHlch(62.93, 55.25, 301.88°)
OKLaboklab(69.2% 0.0522 -0.1317)
OKLCHoklch(69.2% 0.142 291.6)
XYZxyz(38.3254, 31.5014, 83.4018)
Luminance0.3150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8AEC #D8EC8A
analogous
#8AA7EC #9E8AEC #CF8AEC
triadic
#9E8AEC #EC9E8A #8AEC9E
tetradic
#9E8AEC #EC8AA7 #D8EC8A #8AECCF
square
#9E8AEC #EC8AA7 #D8EC8A #8AECCF
split-complementary
#9E8AEC #ECCF8A #A7EC8A
monochromatic
#4823D8 #7255E3 #9E8AEC #CABFF5 #E9E5FB

Accessibility & contrast

On white

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

On black

7.30
#9E8AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E8AEC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8AEC#FFFFFF#000000##000000
##9E8AEC1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9AF0
Deuteranopia (green-blind)
#6D96EA
Tritanopia (blue-blind)
#8B9CB0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9e8aec;
/* rgb */ color: rgb(158, 138, 236);
/* oklch */ color: oklch(69.2% 0.142 291.6);
Tailwind
colors: {
  custom: {
    50: '#bdacf2',
    500: '#9e8aec',
    950: '#000000',
  },
}
SCSS
$custom: #9e8aec;
$custom-light: #bdacf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8aec",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 252.245,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69199,
    "c": 0.14164,
    "h": 291.6
  },
  "luminance": 0.31502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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