#B287C6#B287C6

#B287C6 is a light, moderate purple. Relative luminance 0.309; OKLCH L 68.7% C 0.102 H 314.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#B287C6
RGBrgb(178, 135, 198)
HSLhsl(281, 36%, 65%)
HSVhsv(281, 32%, 78%)
CMYKcmyk(10.1%, 31.8%, 0%, 22.4%)
CIE-LABlab(62.40, 27.87, -26.41)
CIE-LCHlch(62.40, 38.39, 316.54°)
OKLaboklab(68.69% 0.0716 -0.0723)
OKLCHoklch(68.69% 0.102 314.7)
XYZxyz(37.2155, 30.8708, 57.4133)
Luminance0.3087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287C6 #9BC687
analogous
#9287C6 #B287C6 #C687BB
triadic
#B287C6 #C6B287 #87C6B2
tetradic
#B287C6 #C69287 #9BC687 #87BBC6
square
#B287C6 #C69287 #9BC687 #87BBC6
split-complementary
#B287C6 #BBC687 #87C692
monochromatic
#77448F #975EB2 #B287C6 #CDB0DA #E7DAED

Accessibility & contrast

On white

2.93
#B287C6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#B287C6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287C6
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287C6#FFFFFF#000000##000000
##B287C61.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E94C8
Deuteranopia (green-blind)
#8798C4
Tritanopia (blue-blind)
#B18F9E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b287c6;
/* rgb */ color: rgb(178, 135, 198);
/* oklch */ color: oklch(68.7% 0.102 314.7);
Tailwind
colors: {
  custom: {
    50: '#caaad7',
    500: '#b287c6',
    950: '#000000',
  },
}
SCSS
$custom: #b287c6;
$custom-light: #caaad7;
$custom-dark: #000000;
JSON
{
  "hex": "#b287c6",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 198
  },
  "hsl": {
    "h": 280.952,
    "s": 35.593,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68687,
    "c": 0.10176,
    "h": 314.7
  },
  "luminance": 0.3087
}

Semantic roles & 50–950 ramp

primary
#B287C6
secondary
#D1DFCA
accent
#AE375D
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #B287C6

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

Preview Lab → · Contrast checker → · Palette generator →

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