#9E89CD#9E89CD

#9E89CD is a light, moderate violet. Relative luminance 0.296; OKLCH L 67.5% C 0.101 H 297.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9E89CD
RGBrgb(158, 137, 205)
HSLhsl(259, 40%, 67%)
HSVhsv(259, 33%, 80%)
CMYKcmyk(22.9%, 33.2%, 0%, 19.6%)
CIE-LABlab(61.28, 22.05, -32.22)
CIE-LCHlch(61.28, 39.05, 304.39°)
OKLaboklab(67.48% 0.0471 -0.0892)
OKLCHoklch(67.48% 0.101 297.8)
XYZxyz(34.0632, 29.5680, 61.6584)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E89CD #B8CD89
analogous
#8996CD #9E89CD #C089CD
triadic
#9E89CD #CD9E89 #89CD9E
tetradic
#9E89CD #CD8996 #B8CD89 #89CDC0
square
#9E89CD #CD8996 #B8CD89 #89CDC0
split-complementary
#9E89CD #CDC089 #96CD89
monochromatic
#5D419A #7B5EBB #9E89CD #C1B4DF #E5DFF1

Accessibility & contrast

On white

3.04
#9E89CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#9E89CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E89CD
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E89CD#FFFFFF#000000##000000
##9E89CD1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994D0
Deuteranopia (green-blind)
#7C93CB
Tritanopia (blue-blind)
#9594A2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9e89cd;
/* rgb */ color: rgb(158, 137, 205);
/* oklch */ color: oklch(67.5% 0.101 297.8);
Tailwind
colors: {
  custom: {
    50: '#bcabdc',
    500: '#9e89cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e89cd;
$custom-light: #bcabdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e89cd",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 205
  },
  "hsl": {
    "h": 258.529,
    "s": 40.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67483,
    "c": 0.10088,
    "h": 297.8
  },
  "luminance": 0.29568
}

Semantic roles & 50–950 ramp

primary
#9E89CD
secondary
#DDE4CE
accent
#B4328C
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #9E89CD

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

Preview Lab → · Contrast checker → · Palette generator →

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