#9E89DA#9E89DA

#9E89DA is a light, moderate violet. Relative luminance 0.302; OKLCH L 68.1% C 0.119 H 295.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9E89DA
RGBrgb(158, 137, 218)
HSLhsl(256, 52%, 70%)
HSVhsv(256, 37%, 85%)
CMYKcmyk(27.5%, 37.2%, 0%, 14.5%)
CIE-LABlab(61.85, 25.21, -38.62)
CIE-LCHlch(61.85, 46.12, 303.14°)
OKLaboklab(68.1% 0.0501 -0.1076)
OKLCHoklch(68.1% 0.119 295)
XYZxyz(35.6980, 30.2219, 70.2687)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E89DA #C5DA89
analogous
#899CDA #9E89DA #C789DA
triadic
#9E89DA #DA9E89 #89DA9E
tetradic
#9E89DA #DA899C #C5DA89 #89DAC7
square
#9E89DA #DA899C #C5DA89 #89DAC7
split-complementary
#9E89DA #DAC789 #9CDA89
monochromatic
#5738B1 #785ACB #9E89DA #C4B8E9 #EBE6F7

Accessibility & contrast

On white

2.98
#9E89DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#9E89DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E89DA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E89DA#FFFFFF#000000##000000
##9E89DA1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7396DD
Deuteranopia (green-blind)
#7694D8
Tritanopia (blue-blind)
#9197A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9e89da;
/* rgb */ color: rgb(158, 137, 218);
/* oklch */ color: oklch(68.1% 0.119 295.0);
Tailwind
colors: {
  custom: {
    50: '#bcabe6',
    500: '#9e89da',
    950: '#000000',
  },
}
SCSS
$custom: #9e89da;
$custom-light: #bcabe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e89da",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 218
  },
  "hsl": {
    "h": 255.556,
    "s": 52.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.681,
    "c": 0.11871,
    "h": 295
  },
  "luminance": 0.30222
}

Semantic roles & 50–950 ramp

primary
#9E89DA
secondary
#E5EBD4
accent
#C02698
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #9E89DA

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

Preview Lab → · Contrast checker → · Palette generator →

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