#9D8AEE#9D8AEE

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

Color values

HEX#9D8AEE
RGBrgb(157, 138, 238)
HSLhsl(251, 75%, 74%)
HSVhsv(251, 42%, 93%)
CMYKcmyk(34%, 42%, 0%, 6.7%)
CIE-LABlab(62.94, 29.43, -48.00)
CIE-LCHlch(62.94, 56.30, 301.52°)
OKLaboklab(69.22% 0.0514 -0.1349)
OKLCHoklch(69.22% 0.144 290.9)
XYZxyz(38.4217, 31.5172, 84.9315)
Luminance0.3152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8AEE #DBEE8A
analogous
#8AA9EE #9D8AEE #CF8AEE
triadic
#9D8AEE #EE9D8A #8AEE9D
tetradic
#9D8AEE #EE8AA9 #DBEE8A #8AEECF
square
#9D8AEE #EE8AA9 #DBEE8A #8AEECF
split-complementary
#9D8AEE #EECF8A #A9EE8A
monochromatic
#4420DD #7055E6 #9D8AEE #CABFF6 #E9E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D8AEE#FFFFFF#000000##000000
##9D8AEE1.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)
#6A9AF2
Deuteranopia (green-blind)
#6B96EC
Tritanopia (blue-blind)
#899DB1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9d8aee;
/* rgb */ color: rgb(157, 138, 238);
/* oklch */ color: oklch(69.2% 0.144 290.9);
Tailwind
colors: {
  custom: {
    50: '#bdacf4',
    500: '#9d8aee',
    950: '#000000',
  },
}
SCSS
$custom: #9d8aee;
$custom-light: #bdacf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8aee",
  "rgb": {
    "r": 157,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 251.4,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69221,
    "c": 0.14433,
    "h": 290.9
  },
  "luminance": 0.31518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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