#9B87BF#9B87BF

#9B87BF is a light, moderate violet. Relative luminance 0.281; OKLCH L 66.2% C 0.084 H 300.5°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9B87BF
RGBrgb(155, 135, 191)
HSLhsl(261, 30%, 64%)
HSVhsv(261, 29%, 75%)
CMYKcmyk(18.8%, 29.3%, 0%, 25.1%)
CIE-LABlab(59.94, 18.99, -26.43)
CIE-LCHlch(59.94, 32.54, 305.70°)
OKLaboklab(66.2% 0.0428 -0.0727)
OKLCHoklch(66.2% 0.084 300.5)
XYZxyz(31.5835, 28.0580, 53.0319)
Luminance0.2806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B87BF #ABBF87
analogous
#878FBF #9B87BF #B787BF
triadic
#9B87BF #BF9B87 #87BF9B
tetradic
#9B87BF #BF878F #ABBF87 #87BFB7
square
#9B87BF #BF878F #ABBF87 #87BFB7
split-complementary
#9B87BF #BFB787 #8FBF87
monochromatic
#5D4785 #7A5FAA #9B87BF #BCAFD4 #DED7EA

Accessibility & contrast

On white

3.18
#9B87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#9B87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B87BF
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B87BF#FFFFFF#000000##000000
##9B87BF1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B90C1
Deuteranopia (green-blind)
#7E90BD
Tritanopia (blue-blind)
#958F9B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9b87bf;
/* rgb */ color: rgb(155, 135, 191);
/* oklch */ color: oklch(66.2% 0.084 300.5);
Tailwind
colors: {
  custom: {
    50: '#b9aad2',
    500: '#9b87bf',
    950: '#000000',
  },
}
SCSS
$custom: #9b87bf;
$custom-light: #b9aad2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b87bf",
  "rgb": {
    "r": 155,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 261.429,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66204,
    "c": 0.08436,
    "h": 300.5
  },
  "luminance": 0.28058
}

Semantic roles & 50–950 ramp

primary
#9B87BF
secondary
#D4DBC7
accent
#A93C82
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #9B87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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