#9E8AEF#9E8AEF

#9E8AEF is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.4% C 0.146 H 291.2°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9E8AEF
RGBrgb(158, 138, 239)
HSLhsl(252, 76%, 74%)
HSVhsv(252, 42%, 94%)
CMYKcmyk(33.9%, 42.3%, 0%, 6.3%)
CIE-LABlab(63.08, 29.96, -48.33)
CIE-LCHlch(63.08, 56.86, 301.79°)
OKLaboklab(69.36% 0.0527 -0.1358)
OKLCHoklch(69.36% 0.146 291.2)
XYZxyz(38.7649, 31.6772, 85.7165)
Luminance0.3168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8AEF #DBEF8A
analogous
#8AA9EF #9E8AEF #D18AEF
triadic
#9E8AEF #EF9E8A #8AEF9E
tetradic
#9E8AEF #EF8AA9 #DBEF8A #8AEFD1
square
#9E8AEF #EF8AA9 #DBEF8A #8AEFD1
split-complementary
#9E8AEF #EFD18A #A9EF8A
monochromatic
#451FE0 #7154E8 #9E8AEF #CBC0F6 #E9E4FB

Accessibility & contrast

On white

2.86
#9E8AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#9E8AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E8AEF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8AEF#FFFFFF#000000##000000
##9E8AEF1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF3
Deuteranopia (green-blind)
#6B97ED
Tritanopia (blue-blind)
#8A9DB1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9e8aef;
/* rgb */ color: rgb(158, 138, 239);
/* oklch */ color: oklch(69.4% 0.146 291.2);
Tailwind
colors: {
  custom: {
    50: '#bdacf5',
    500: '#9e8aef',
    950: '#000000',
  },
}
SCSS
$custom: #9e8aef;
$custom-light: #bdacf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8aef",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 251.881,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69358,
    "c": 0.14569,
    "h": 291.2
  },
  "luminance": 0.31678
}

Semantic roles & 50–950 ramp

primary
#9E8AEF
secondary
#EEF3D8
accent
#D80DB0
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9E8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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