#9D8AEC#9D8AEC

#9D8AEC is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.1% C 0.142 H 291.1°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9D8AEC
RGBrgb(157, 138, 236)
HSLhsl(252, 72%, 73%)
HSVhsv(252, 42%, 93%)
CMYKcmyk(33.5%, 41.5%, 0%, 7.5%)
CIE-LABlab(62.84, 28.92, -47.05)
CIE-LCHlch(62.84, 55.22, 301.57°)
OKLaboklab(69.12% 0.0511 -0.1321)
OKLCHoklch(69.12% 0.142 291.1)
XYZxyz(38.1295, 31.4003, 83.3926)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8AEC #D9EC8A
analogous
#8AA8EC #9D8AEC #CE8AEC
triadic
#9D8AEC #EC9D8A #8AEC9D
tetradic
#9D8AEC #EC8AA8 #D9EC8A #8AECCE
square
#9D8AEC #EC8AA8 #D9EC8A #8AECCE
split-complementary
#9D8AEC #ECCE8A #A8EC8A
monochromatic
#4623D8 #7155E3 #9D8AEC #C9BFF5 #E9E5FB

Accessibility & contrast

On white

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

On black

7.28
#9D8AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D8AEC
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8AEC#FFFFFF#000000##000000
##9D8AEC1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d8aec;
/* rgb */ color: rgb(157, 138, 236);
/* oklch */ color: oklch(69.1% 0.142 291.1);
Tailwind
colors: {
  custom: {
    50: '#bdacf2',
    500: '#9d8aec',
    950: '#000000',
  },
}
SCSS
$custom: #9d8aec;
$custom-light: #bdacf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8aec",
  "rgb": {
    "r": 157,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 251.633,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69115,
    "c": 0.14162,
    "h": 291.1
  },
  "luminance": 0.31401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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