#9D8AE2#9D8AE2

#9D8AE2 is a light, vivid violet. Relative luminance 0.308; OKLCH L 68.6% C 0.128 H 292.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9D8AE2
RGBrgb(157, 138, 226)
HSLhsl(253, 60%, 71%)
HSVhsv(253, 39%, 89%)
CMYKcmyk(30.5%, 38.9%, 0%, 11.4%)
CIE-LABlab(62.37, 26.35, -42.26)
CIE-LCHlch(62.37, 49.80, 301.95°)
OKLaboklab(68.6% 0.0492 -0.1182)
OKLCHoklch(68.6% 0.128 292.6)
XYZxyz(36.7171, 30.8354, 75.9541)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8AE2 #CFE28A
analogous
#8AA3E2 #9D8AE2 #C98AE2
triadic
#9D8AE2 #E29D8A #8AE29D
tetradic
#9D8AE2 #E28AA3 #CFE28A #8AE2C9
square
#9D8AE2 #E28AA3 #CFE28A #8AE2C9
split-complementary
#9D8AE2 #E2C98A #A3E28A
monochromatic
#4F30C2 #7459D6 #9D8AE2 #C6BBEE #EAE6F9

Accessibility & contrast

On white

2.93
#9D8AE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#9D8AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D8AE2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8AE2#FFFFFF#000000##000000
##9D8AE21.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E5
Deuteranopia (green-blind)
#7295E0
Tritanopia (blue-blind)
#8D9AAB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d8ae2;
/* rgb */ color: rgb(157, 138, 226);
/* oklch */ color: oklch(68.6% 0.128 292.6);
Tailwind
colors: {
  custom: {
    50: '#bcaceb',
    500: '#9d8ae2',
    950: '#000000',
  },
}
SCSS
$custom: #9d8ae2;
$custom-light: #bcaceb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8ae2",
  "rgb": {
    "r": 157,
    "g": 138,
    "b": 226
  },
  "hsl": {
    "h": 252.955,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68598,
    "c": 0.12802,
    "h": 292.6
  },
  "luminance": 0.30836
}

Semantic roles & 50–950 ramp

primary
#9D8AE2
secondary
#EAEFD8
accent
#C81EA3
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #9D8AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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