#9D89EA#9D89EA

#9D89EA is a light, vivid violet. Relative luminance 0.310; OKLCH L 68.8% C 0.140 H 291.8°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9D89EA
RGBrgb(157, 137, 234)
HSLhsl(252, 70%, 73%)
HSVhsv(252, 41%, 92%)
CMYKcmyk(32.9%, 41.5%, 0%, 8.2%)
CIE-LABlab(62.51, 28.97, -46.47)
CIE-LCHlch(62.51, 54.77, 301.94°)
OKLaboklab(68.83% 0.0521 -0.1304)
OKLCHoklch(68.83% 0.14 291.8)
XYZxyz(37.6977, 30.9991, 81.8232)
Luminance0.3100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D89EA #D6EA89
analogous
#89A5EA #9D89EA #CD89EA
triadic
#9D89EA #EA9D89 #89EA9D
tetradic
#9D89EA #EA89A5 #D6EA89 #89EACD
square
#9D89EA #EA89A5 #D6EA89 #89EACD
split-complementary
#9D89EA #EACD89 #A5EA89
monochromatic
#4926D3 #7255E1 #9D89EA #C8BDF3 #E9E5FA

Accessibility & contrast

On white

2.92
#9D89EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#9D89EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D89EA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D89EA#FFFFFF#000000##000000
##9D89EA1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d89ea;
/* rgb */ color: rgb(157, 137, 234);
/* oklch */ color: oklch(68.8% 0.140 291.8);
Tailwind
colors: {
  custom: {
    50: '#bcabf1',
    500: '#9d89ea',
    950: '#000000',
  },
}
SCSS
$custom: #9d89ea;
$custom-light: #bcabf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d89ea",
  "rgb": {
    "r": 157,
    "g": 137,
    "b": 234
  },
  "hsl": {
    "h": 252.371,
    "s": 69.784,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68827,
    "c": 0.14042,
    "h": 291.8
  },
  "luminance": 0.31
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D89EA

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

Preview Lab → · Contrast checker → · Palette generator →

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