#9A87BF#9A87BF

#9A87BF is a light, moderate violet. Relative luminance 0.280; OKLCH L 66.1% C 0.084 H 299.7°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9A87BF
RGBrgb(154, 135, 191)
HSLhsl(260, 30%, 64%)
HSVhsv(260, 29%, 75%)
CMYKcmyk(19.4%, 29.3%, 0%, 25.1%)
CIE-LABlab(59.85, 18.67, -26.57)
CIE-LCHlch(59.85, 32.47, 305.10°)
OKLaboklab(66.11% 0.0417 -0.0731)
OKLCHoklch(66.11% 0.084 299.7)
XYZxyz(31.3924, 27.9595, 53.0230)
Luminance0.2796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A87BF #ACBF87
analogous
#8790BF #9A87BF #B687BF
triadic
#9A87BF #BF9A87 #87BF9A
tetradic
#9A87BF #BF8790 #ACBF87 #87BFB6
square
#9A87BF #BF8790 #ACBF87 #87BFB6
split-complementary
#9A87BF #BFB687 #90BF87
monochromatic
#5C4785 #785FAA #9A87BF #BCAFD4 #DDD7EA

Accessibility & contrast

On white

3.19
#9A87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#9A87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A87BF
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A87BF#FFFFFF#000000##000000
##9A87BF1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a87bf;
/* rgb */ color: rgb(154, 135, 191);
/* oklch */ color: oklch(66.1% 0.084 299.7);
Tailwind
colors: {
  custom: {
    50: '#b8aad2',
    500: '#9a87bf',
    950: '#000000',
  },
}
SCSS
$custom: #9a87bf;
$custom-light: #b8aad2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a87bf",
  "rgb": {
    "r": 154,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 260.357,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66114,
    "c": 0.08416,
    "h": 299.7
  },
  "luminance": 0.2796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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