#9E89FB#9E89FB

#9E89FB is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.8% C 0.163 H 290.0°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9E89FB
RGBrgb(158, 137, 251)
HSLhsl(251, 93%, 76%)
HSVhsv(251, 45%, 98%)
CMYKcmyk(37.1%, 45.4%, 0%, 1.6%)
CIE-LABlab(63.45, 33.67, -54.35)
CIE-LCHlch(63.45, 63.93, 301.78°)
OKLaboklab(69.84% 0.0557 -0.1534)
OKLCHoklch(69.84% 0.163 290)
XYZxyz(40.4541, 32.1243, 95.3173)
Luminance0.3212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E89FB #E6FB89
analogous
#89ADFB #9E89FB #D789FB
triadic
#9E89FB #FB9E89 #89FB9E
tetradic
#9E89FB #FB89AD #E6FB89 #89FBD7
square
#9E89FB #FB89AD #E6FB89 #89FBD7
split-complementary
#9E89FB #FBD789 #ADFB89
monochromatic
#3D13F7 #6D4EF9 #9E89FB #CFC4FD #E7E1FE

Accessibility & contrast

On white

2.83
#9E89FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#9E89FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E89FB
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E89FB#FFFFFF#000000##000000
##9E89FB1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#6297F8
Tritanopia (blue-blind)
#869FB6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9e89fb;
/* rgb */ color: rgb(158, 137, 251);
/* oklch */ color: oklch(69.8% 0.163 290.0);
Tailwind
colors: {
  custom: {
    50: '#beabfd',
    500: '#9e89fb',
    950: '#000000',
  },
}
SCSS
$custom: #9e89fb;
$custom-light: #beabfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e89fb",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 251
  },
  "hsl": {
    "h": 251.053,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.69836,
    "c": 0.16318,
    "h": 290
  },
  "luminance": 0.32125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E89FB

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

Preview Lab → · Contrast checker → · Palette generator →

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