#9E8FE5#9E8FE5

#9E8FE5 is a light, vivid violet. Relative luminance 0.326; OKLCH L 69.8% C 0.125 H 290.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#9E8FE5
RGBrgb(158, 143, 229)
HSLhsl(250, 62%, 73%)
HSVhsv(250, 38%, 90%)
CMYKcmyk(31%, 37.6%, 0%, 10.2%)
CIE-LABlab(63.81, 24.53, -41.65)
CIE-LCHlch(63.81, 48.34, 300.49°)
OKLaboklab(69.76% 0.0442 -0.1164)
OKLCHoklch(69.76% 0.125 290.8)
XYZxyz(38.0622, 32.5704, 78.3949)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8FE5 #D6E58F
analogous
#8FABE5 #9E8FE5 #C98FE5
triadic
#9E8FE5 #E59E8F #8FE59E
tetradic
#9E8FE5 #E58FAB #D6E58F #8FE5C9
square
#9E8FE5 #E58FAB #D6E58F #8FE5C9
split-complementary
#9E8FE5 #E5C98F #ABE58F
monochromatic
#4A2FCB #735DD9 #9E8FE5 #C9C1F1 #E9E6F9

Accessibility & contrast

On white

2.79
#9E8FE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#9E8FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E8FE5
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8FE5#FFFFFF#000000##000000
##9E8FE51.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#769CE8
Deuteranopia (green-blind)
#7799E3
Tritanopia (blue-blind)
#8D9FAF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9e8fe5;
/* rgb */ color: rgb(158, 143, 229);
/* oklch */ color: oklch(69.8% 0.125 290.8);
Tailwind
colors: {
  custom: {
    50: '#bdb0ed',
    500: '#9e8fe5',
    950: '#000000',
  },
}
SCSS
$custom: #9e8fe5;
$custom-light: #bdb0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8fe5",
  "rgb": {
    "r": 158,
    "g": 143,
    "b": 229
  },
  "hsl": {
    "h": 250.465,
    "s": 62.319,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69763,
    "c": 0.12451,
    "h": 290.8
  },
  "luminance": 0.32571
}

Semantic roles & 50–950 ramp

primary
#9E8FE5
secondary
#EDF1DA
accent
#CA1BAC
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #9E8FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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