#9E88FE#9E88FE

#9E88FE is a light, vivid violet. Relative luminance 0.320; OKLCH L 69.8% C 0.169 H 289.9°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#9E88FE
RGBrgb(158, 136, 254)
HSLhsl(251, 98%, 76%)
HSVhsv(251, 46%, 100%)
CMYKcmyk(37.8%, 46.5%, 0%, 0.4%)
CIE-LABlab(63.37, 35.03, -56.11)
CIE-LCHlch(63.37, 66.15, 301.98°)
OKLaboklab(69.83% 0.0574 -0.1585)
OKLCHoklch(69.83% 0.169 289.9)
XYZxyz(40.7892, 32.0320, 97.7804)
Luminance0.3203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E88FE #E8FE88
analogous
#88ADFE #9E88FE #D988FE
triadic
#9E88FE #FE9E88 #88FE9E
tetradic
#9E88FE #FE88AD #E8FE88 #88FED9
square
#9E88FE #FE88AD #E8FE88 #88FED9
split-complementary
#9E88FE #FED988 #ADFE88
monochromatic
#3B0FFD #6D4BFD #9E88FE #CFC5FF #E6E1FF

Accessibility & contrast

On white

2.84
#9E88FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#9E88FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E88FE
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E88FE#FFFFFF#000000##000000
##9E88FE1.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9CFF
Deuteranopia (green-blind)
#5E97FB
Tritanopia (blue-blind)
#859FB7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9e88fe;
/* rgb */ color: rgb(158, 136, 254);
/* oklch */ color: oklch(69.8% 0.169 289.9);
Tailwind
colors: {
  custom: {
    50: '#bfabff',
    500: '#9e88fe',
    950: '#000000',
  },
}
SCSS
$custom: #9e88fe;
$custom-light: #bfabff;
$custom-dark: #000000;
JSON
{
  "hex": "#9e88fe",
  "rgb": {
    "r": 158,
    "g": 136,
    "b": 254
  },
  "hsl": {
    "h": 251.186,
    "s": 98.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.69829,
    "c": 0.1686,
    "h": 289.9
  },
  "luminance": 0.32033
}

Semantic roles & 50–950 ramp

primary
#9E88FE
secondary
#F1F7D4
accent
#E600BB
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #9E88FE

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

Preview Lab → · Contrast checker → · Palette generator →

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