#8F87A3#8F87A3

#8F87A3 is a light, muted violet. Relative luminance 0.258; OKLCH L 64.0% C 0.042 H 298.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8F87A3
RGBrgb(143, 135, 163)
HSLhsl(257, 13%, 58%)
HSVhsv(257, 17%, 64%)
CMYKcmyk(12.3%, 17.2%, 0%, 36.1%)
CIE-LABlab(57.86, 8.70, -13.75)
CIE-LCHlch(57.86, 16.27, 302.34°)
OKLaboklab(64% 0.02 -0.0372)
OKLCHoklch(64% 0.042 298.3)
XYZxyz(26.6012, 25.8119, 38.2240)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F87A3 #9BA387
analogous
#878DA3 #8F87A3 #9D87A3
triadic
#8F87A3 #A38F87 #87A38F
tetradic
#8F87A3 #A3878D #9BA387 #87A39D
square
#8F87A3 #A3878D #9BA387 #87A39D
split-complementary
#8F87A3 #A39D87 #8DA387
monochromatic
#534C63 #706786 #8F87A3 #AFAABE #D0CCD8

Accessibility & contrast

On white

3.41
#8F87A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#8F87A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F87A3
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F87A3#FFFFFF#000000##000000
##8F87A31.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#828BA4
Deuteranopia (green-blind)
#838BA2
Tritanopia (blue-blind)
#8C8B90
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8f87a3;
/* rgb */ color: rgb(143, 135, 163);
/* oklch */ color: oklch(64.0% 0.042 298.3);
Tailwind
colors: {
  custom: {
    50: '#b0aabe',
    500: '#8f87a3',
    950: '#000000',
  },
}
SCSS
$custom: #8f87a3;
$custom-light: #b0aabe;
$custom-dark: #000000;
JSON
{
  "hex": "#8f87a3",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 163
  },
  "hsl": {
    "h": 257.143,
    "s": 13.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63999,
    "c": 0.04228,
    "h": 298.3
  },
  "luminance": 0.25812
}

Semantic roles & 50–950 ramp

primary
#8F87A3
secondary
#C5C8BD
accent
#B672A3
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8F87A3

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

Preview Lab → · Contrast checker → · Palette generator →

#8F87A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva