#B87FAF#B87FAF

#B87FAF is a light, moderate purple. Relative luminance 0.285; OKLCH L 67.0% C 0.095 H 332.3°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#B87FAF
RGBrgb(184, 127, 175)
HSLhsl(309, 29%, 61%)
HSVhsv(309, 31%, 72%)
CMYKcmyk(0%, 31%, 4.9%, 27.8%)
CIE-LABlab(60.31, 29.79, -16.52)
CIE-LCHlch(60.31, 34.07, 331.00°)
OKLaboklab(66.96% 0.0844 -0.0444)
OKLCHoklch(66.96% 0.095 332.3)
XYZxyz(35.0939, 28.4656, 44.1950)
Luminance0.2846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FAF #7FB888
analogous
#A47FB8 #B87FAF #B87F92
triadic
#B87FAF #AFB87F #7FAFB8
tetradic
#B87FAF #B8A47F #7FB888 #7F92B8
square
#B87FAF #B8A47F #7FB888 #7F92B8
split-complementary
#B87FAF #92B87F #7FB8A4
monochromatic
#794371 #A15995 #B87FAF #CEA6C8 #E4CEE0

Accessibility & contrast

On white

3.14
#B87FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#B87FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B87FAF
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FAF#FFFFFF#000000##000000
##B87FAF1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8CB1
Deuteranopia (green-blind)
#8C94AD
Tritanopia (blue-blind)
#BD8290
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b87faf;
/* rgb */ color: rgb(184, 127, 175);
/* oklch */ color: oklch(67.0% 0.095 332.3);
Tailwind
colors: {
  custom: {
    50: '#cea5c7',
    500: '#b87faf',
    950: '#000000',
  },
}
SCSS
$custom: #b87faf;
$custom-light: #cea5c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b87faf",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 175
  },
  "hsl": {
    "h": 309.474,
    "s": 28.643,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66957,
    "c": 0.09538,
    "h": 332.3
  },
  "luminance": 0.28464
}

Semantic roles & 50–950 ramp

primary
#B87FAF
secondary
#BFD4C2
accent
#A74F3E
background
#FCFAFC
surface
#F9F4F8
border
#D2CED1
text
#140F13
muted
#827F82

Preview Lab

Preview with #B87FAF

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

Preview Lab → · Contrast checker → · Palette generator →

#B87FAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva