#9E89FC#9E89FC

#9E89FC is a light, vivid violet. Relative luminance 0.322; OKLCH L 69.9% C 0.165 H 289.9°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9E89FC
RGBrgb(158, 137, 252)
HSLhsl(251, 95%, 76%)
HSVhsv(251, 46%, 99%)
CMYKcmyk(37.3%, 45.6%, 0%, 1.2%)
CIE-LABlab(63.50, 33.93, -54.81)
CIE-LCHlch(63.50, 64.47, 301.76°)
OKLaboklab(69.89% 0.0559 -0.1547)
OKLCHoklch(69.89% 0.165 289.9)
XYZxyz(40.6121, 32.1876, 96.1496)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E89FC #E7FC89
analogous
#89AEFC #9E89FC #D889FC
triadic
#9E89FC #FC9E89 #89FC9E
tetradic
#9E89FC #FC89AE #E7FC89 #89FCD8
square
#9E89FC #FC89AE #E7FC89 #89FCD8
split-complementary
#9E89FC #FCD889 #AEFC89
monochromatic
#3C12F9 #6D4DFA #9E89FC #CFC5FE #E6E1FE

Accessibility & contrast

On white

2.82
#9E89FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#9E89FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E89FC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E89FC#FFFFFF#000000##000000
##9E89FC1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#6197F9
Tritanopia (blue-blind)
#85A0B6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9e89fc;
/* rgb */ color: rgb(158, 137, 252);
/* oklch */ color: oklch(69.9% 0.165 289.9);
Tailwind
colors: {
  custom: {
    50: '#beabfe',
    500: '#9e89fc',
    950: '#000000',
  },
}
SCSS
$custom: #9e89fc;
$custom-light: #beabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#9e89fc",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 250.957,
    "s": 95.041,
    "l": 76.275
  },
  "oklch": {
    "l": 0.69892,
    "c": 0.16451,
    "h": 289.9
  },
  "luminance": 0.32189
}

Semantic roles & 50–950 ramp

primary
#9E89FC
secondary
#F0F6D5
accent
#E600BC
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #9E89FC

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

Preview Lab → · Contrast checker → · Palette generator →

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