#9C87BF#9C87BF

#9C87BF is a light, moderate violet. Relative luminance 0.282; OKLCH L 66.3% C 0.085 H 301.3°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9C87BF
RGBrgb(156, 135, 191)
HSLhsl(263, 30%, 64%)
HSVhsv(263, 29%, 75%)
CMYKcmyk(18.3%, 29.3%, 0%, 25.1%)
CIE-LABlab(60.03, 19.30, -26.28)
CIE-LCHlch(60.03, 32.61, 306.30°)
OKLaboklab(66.29% 0.044 -0.0723)
OKLCHoklch(66.29% 0.085 301.3)
XYZxyz(31.7763, 28.1574, 53.0410)
Luminance0.2816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C87BF #AABF87
analogous
#878EBF #9C87BF #B887BF
triadic
#9C87BF #BF9C87 #87BF9C
tetradic
#9C87BF #BF878E #AABF87 #87BFB8
square
#9C87BF #BF878E #AABF87 #87BFB8
split-complementary
#9C87BF #BFB887 #8EBF87
monochromatic
#5E4785 #7B5FAA #9C87BF #BDAFD4 #DED7EA

Accessibility & contrast

On white

3.17
#9C87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#9C87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C87BF
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C87BF#FFFFFF#000000##000000
##9C87BF1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B90C1
Deuteranopia (green-blind)
#7F90BD
Tritanopia (blue-blind)
#968F9B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9c87bf;
/* rgb */ color: rgb(156, 135, 191);
/* oklch */ color: oklch(66.3% 0.085 301.3);
Tailwind
colors: {
  custom: {
    50: '#baaad2',
    500: '#9c87bf',
    950: '#000000',
  },
}
SCSS
$custom: #9c87bf;
$custom-light: #baaad2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c87bf",
  "rgb": {
    "r": 156,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 262.5,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66294,
    "c": 0.0846,
    "h": 301.3
  },
  "luminance": 0.28157
}

Semantic roles & 50–950 ramp

primary
#9C87BF
secondary
#D3DBC7
accent
#A93C80
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #9C87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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