#9D8BE9#9D8BE9

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

Color values

HEX#9D8BE9
RGBrgb(157, 139, 233)
HSLhsl(251, 68%, 73%)
HSVhsv(251, 40%, 91%)
CMYKcmyk(32.6%, 40.3%, 0%, 8.6%)
CIE-LABlab(62.94, 27.57, -45.24)
CIE-LCHlch(62.94, 52.98, 301.36°)
OKLaboklab(69.14% 0.0492 -0.1268)
OKLCHoklch(69.14% 0.136 291.2)
XYZxyz(37.8414, 31.5157, 81.1644)
Luminance0.3152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8BE9 #D7E98B
analogous
#8BA8E9 #9D8BE9 #CC8BE9
triadic
#9D8BE9 #E99D8B #8BE99D
tetradic
#9D8BE9 #E98BA8 #D7E98B #8BE9CC
square
#9D8BE9 #E98BA8 #D7E98B #8BE9CC
split-complementary
#9D8BE9 #E9CC8B #A8E98B
monochromatic
#4828D2 #7258DF #9D8BE9 #C8BEF3 #E9E5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D8BE9#FFFFFF#000000##000000
##9D8BE91.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)
#6E9AED
Deuteranopia (green-blind)
#6F96E7
Tritanopia (blue-blind)
#8B9CAF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9d8be9;
/* rgb */ color: rgb(157, 139, 233);
/* oklch */ color: oklch(69.1% 0.136 291.2);
Tailwind
colors: {
  custom: {
    50: '#bcadf0',
    500: '#9d8be9',
    950: '#000000',
  },
}
SCSS
$custom: #9d8be9;
$custom-light: #bcadf0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8be9",
  "rgb": {
    "r": 157,
    "g": 139,
    "b": 233
  },
  "hsl": {
    "h": 251.489,
    "s": 68.116,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69141,
    "c": 0.13604,
    "h": 291.2
  },
  "luminance": 0.31517
}

Semantic roles & 50–950 ramp

primary
#9D8BE9
secondary
#EDF2D9
accent
#D015AC
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #9D8BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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