#9E89EA#9E89EA

#9E89EA is a light, vivid violet. Relative luminance 0.311; OKLCH L 68.9% C 0.140 H 292.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9E89EA
RGBrgb(158, 137, 234)
HSLhsl(253, 70%, 73%)
HSVhsv(253, 41%, 92%)
CMYKcmyk(32.5%, 41.5%, 0%, 8.2%)
CIE-LABlab(62.59, 29.24, -46.33)
CIE-LCHlch(62.59, 54.79, 302.25°)
OKLaboklab(68.91% 0.0532 -0.13)
OKLCHoklch(68.91% 0.14 292.3)
XYZxyz(37.8937, 31.1002, 81.8324)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E89EA #D5EA89
analogous
#89A4EA #9E89EA #CF89EA
triadic
#9E89EA #EA9E89 #89EA9E
tetradic
#9E89EA #EA89A4 #D5EA89 #89EACF
square
#9E89EA #EA89A4 #D5EA89 #89EACF
split-complementary
#9E89EA #EACF89 #A4EA89
monochromatic
#4B26D3 #7355E1 #9E89EA #C9BDF3 #EAE5FA

Accessibility & contrast

On white

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

On black

7.22
#9E89EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E89EA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E89EA#FFFFFF#000000##000000
##9E89EA1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EE
Deuteranopia (green-blind)
#6D96E8
Tritanopia (blue-blind)
#8C9BAE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9e89ea;
/* rgb */ color: rgb(158, 137, 234);
/* oklch */ color: oklch(68.9% 0.140 292.3);
Tailwind
colors: {
  custom: {
    50: '#bdabf1',
    500: '#9e89ea',
    950: '#000000',
  },
}
SCSS
$custom: #9e89ea;
$custom-light: #bdabf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e89ea",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 234
  },
  "hsl": {
    "h": 252.99,
    "s": 69.784,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68913,
    "c": 0.14046,
    "h": 292.3
  },
  "luminance": 0.31101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E89EA

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

Preview Lab → · Contrast checker → · Palette generator →

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