#B287BB#B287BB

#B287BB is a light, moderate purple. Relative luminance 0.304; OKLCH L 68.2% C 0.089 H 320.5°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#B287BB
RGBrgb(178, 135, 187)
HSLhsl(290, 28%, 63%)
HSVhsv(290, 28%, 73%)
CMYKcmyk(4.8%, 27.8%, 0%, 26.7%)
CIE-LABlab(61.98, 25.61, -20.84)
CIE-LCHlch(61.98, 33.02, 320.86°)
OKLaboklab(68.23% 0.0686 -0.0566)
OKLCHoklch(68.23% 0.089 320.5)
XYZxyz(35.9925, 30.3816, 50.9723)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287BB #90BB87
analogous
#9887BB #B287BB #BB87AA
triadic
#B287BB #BBB287 #87BBB2
tetradic
#B287BB #BB9887 #90BB87 #87AABB
square
#B287BB #BB9887 #90BB87 #87AABB
split-complementary
#B287BB #AABB87 #87BB98
monochromatic
#76487F #9960A5 #B287BB #CBAED1 #E4D5E7

Accessibility & contrast

On white

2.97
#B287BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#B287BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287BB
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287BB#FFFFFF#000000##000000
##B287BB1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8193BD
Deuteranopia (green-blind)
#8B97B9
Tritanopia (blue-blind)
#B38C99
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b287bb;
/* rgb */ color: rgb(178, 135, 187);
/* oklch */ color: oklch(68.2% 0.089 320.5);
Tailwind
colors: {
  custom: {
    50: '#c9aacf',
    500: '#b287bb',
    950: '#000000',
  },
}
SCSS
$custom: #b287bb;
$custom-light: #c9aacf;
$custom-dark: #000000;
JSON
{
  "hex": "#b287bb",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 289.615,
    "s": 27.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68232,
    "c": 0.0889,
    "h": 320.5
  },
  "luminance": 0.30381
}

Semantic roles & 50–950 ramp

primary
#B287BB
secondary
#C9D8C6
accent
#A63F51
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131013
muted
#827F82

Preview Lab

Preview with #B287BB

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

Preview Lab → · Contrast checker → · Palette generator →

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