#9B89C7#9B89C7

#9B89C7 is a light, moderate violet. Relative luminance 0.290; OKLCH L 66.9% C 0.092 H 297.2°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9B89C7
RGBrgb(155, 137, 199)
HSLhsl(257, 36%, 66%)
HSVhsv(257, 31%, 78%)
CMYKcmyk(22.1%, 31.2%, 0%, 22%)
CIE-LABlab(60.77, 19.71, -29.67)
CIE-LCHlch(60.77, 35.62, 303.60°)
OKLaboklab(66.94% 0.0421 -0.0819)
OKLCHoklch(66.94% 0.092 297.2)
XYZxyz(32.7697, 28.9832, 57.8896)
Luminance0.2898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B89C7 #B5C789
analogous
#8996C7 #9B89C7 #BA89C7
triadic
#9B89C7 #C79B89 #89C79B
tetradic
#9B89C7 #C78996 #B5C789 #89C7BA
square
#9B89C7 #C78996 #B5C789 #89C7BA
split-complementary
#9B89C7 #C7BA89 #96C789
monochromatic
#5B4591 #785FB3 #9B89C7 #BEB3DB #E1DCEE

Accessibility & contrast

On white

3.09
#9B89C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#9B89C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B89C7
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B89C7#FFFFFF#000000##000000
##9B89C71.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A93CA
Deuteranopia (green-blind)
#7D92C5
Tritanopia (blue-blind)
#93939F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9b89c7;
/* rgb */ color: rgb(155, 137, 199);
/* oklch */ color: oklch(66.9% 0.092 297.2);
Tailwind
colors: {
  custom: {
    50: '#b9abd8',
    500: '#9b89c7',
    950: '#000000',
  },
}
SCSS
$custom: #9b89c7;
$custom-light: #b9abd8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b89c7",
  "rgb": {
    "r": 155,
    "g": 137,
    "b": 199
  },
  "hsl": {
    "h": 257.419,
    "s": 35.632,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66944,
    "c": 0.09212,
    "h": 297.2
  },
  "luminance": 0.28983
}

Semantic roles & 50–950 ramp

primary
#9B89C7
secondary
#DAE0CC
accent
#AE378C
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #9B89C7

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

Preview Lab → · Contrast checker → · Palette generator →

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