#9D87BF#9D87BF

#9D87BF is a light, moderate violet. Relative luminance 0.283; OKLCH L 66.4% C 0.085 H 302.2°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9D87BF
RGBrgb(157, 135, 191)
HSLhsl(264, 30%, 64%)
HSVhsv(264, 29%, 75%)
CMYKcmyk(17.8%, 29.3%, 0%, 25.1%)
CIE-LABlab(60.12, 19.62, -26.13)
CIE-LCHlch(60.12, 32.68, 306.90°)
OKLaboklab(66.39% 0.0452 -0.0718)
OKLCHoklch(66.39% 0.085 302.2)
XYZxyz(31.9706, 28.2576, 53.0501)
Luminance0.2826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D87BF #A9BF87
analogous
#878DBF #9D87BF #B987BF
triadic
#9D87BF #BF9D87 #87BF9D
tetradic
#9D87BF #BF878D #A9BF87 #87BFB9
square
#9D87BF #BF878D #A9BF87 #87BFB9
split-complementary
#9D87BF #BFB987 #8DBF87
monochromatic
#5F4785 #7C5FAA #9D87BF #BEAFD4 #DED7EA

Accessibility & contrast

On white

3.16
#9D87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#9D87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D87BF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D87BF#FFFFFF#000000##000000
##9D87BF1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d87bf;
/* rgb */ color: rgb(157, 135, 191);
/* oklch */ color: oklch(66.4% 0.085 302.2);
Tailwind
colors: {
  custom: {
    50: '#baaad2',
    500: '#9d87bf',
    950: '#000000',
  },
}
SCSS
$custom: #9d87bf;
$custom-light: #baaad2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d87bf",
  "rgb": {
    "r": 157,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 263.571,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66385,
    "c": 0.08484,
    "h": 302.2
  },
  "luminance": 0.28258
}

Semantic roles & 50–950 ramp

primary
#9D87BF
secondary
#D3DBC7
accent
#A93C7E
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#121014
muted
#817F82

Preview Lab

Preview with #9D87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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