#9E8DD4#9E8DD4

#9E8DD4 is a light, moderate violet. Relative luminance 0.311; OKLCH L 68.6% C 0.104 H 294.5°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9E8DD4
RGBrgb(158, 141, 212)
HSLhsl(254, 45%, 69%)
HSVhsv(254, 33%, 83%)
CMYKcmyk(25.5%, 33.5%, 0%, 16.9%)
CIE-LABlab(62.57, 21.45, -34.14)
CIE-LCHlch(62.57, 40.32, 302.13°)
OKLaboklab(68.57% 0.0432 -0.0947)
OKLCHoklch(68.57% 0.104 294.5)
XYZxyz(35.5063, 31.0719, 66.4014)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8DD4 #C3D48D
analogous
#8DA0D4 #9E8DD4 #C28DD4
triadic
#9E8DD4 #D49E8D #8DD49E
tetradic
#9E8DD4 #D48DA0 #C3D48D #8DD4C2
square
#9E8DD4 #D48DA0 #C3D48D #8DD4C2
split-complementary
#9E8DD4 #D4C28D #A0D48D
monochromatic
#583FA7 #7861C3 #9E8DD4 #C4B9E5 #EAE6F6

Accessibility & contrast

On white

2.91
#9E8DD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#9E8DD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E8DD4
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8DD4#FFFFFF#000000##000000
##9E8DD41.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B98D7
Deuteranopia (green-blind)
#7D96D2
Tritanopia (blue-blind)
#9399A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9e8dd4;
/* rgb */ color: rgb(158, 141, 212);
/* oklch */ color: oklch(68.6% 0.104 294.5);
Tailwind
colors: {
  custom: {
    50: '#bcaee1',
    500: '#9e8dd4',
    950: '#000000',
  },
}
SCSS
$custom: #9e8dd4;
$custom-light: #bcaee1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8dd4",
  "rgb": {
    "r": 158,
    "g": 141,
    "b": 212
  },
  "hsl": {
    "h": 254.366,
    "s": 45.223,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68567,
    "c": 0.10409,
    "h": 294.5
  },
  "luminance": 0.31072
}

Semantic roles & 50–950 ramp

primary
#9E8DD4
secondary
#E4E9D4
accent
#B82D97
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #9E8DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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