#B287C7#B287C7

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

Color values

HEX#B287C7
RGBrgb(178, 135, 199)
HSLhsl(280, 36%, 65%)
HSVhsv(280, 32%, 78%)
CMYKcmyk(10.6%, 32.2%, 0%, 22%)
CIE-LABlab(62.44, 28.08, -26.91)
CIE-LCHlch(62.44, 38.89, 316.21°)
OKLaboklab(68.73% 0.0719 -0.0737)
OKLCHoklch(68.73% 0.103 314.3)
XYZxyz(37.3312, 30.9171, 58.0228)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287C7 #9CC787
analogous
#9287C7 #B287C7 #C787BC
triadic
#B287C7 #C7B287 #87C7B2
tetradic
#B287C7 #C79287 #9CC787 #87BCC7
square
#B287C7 #C79287 #9CC787 #87BCC7
split-complementary
#B287C7 #BCC787 #87C792
monochromatic
#774390 #975DB4 #B287C7 #CDB1DA #E8DAEE

Accessibility & contrast

On white

2.92
#B287C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#B287C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287C7
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287C7#FFFFFF#000000##000000
##B287C71.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b287c7;
/* rgb */ color: rgb(178, 135, 199);
/* oklch */ color: oklch(68.7% 0.103 314.3);
Tailwind
colors: {
  custom: {
    50: '#caaad8',
    500: '#b287c7',
    950: '#000000',
  },
}
SCSS
$custom: #b287c7;
$custom-light: #caaad8;
$custom-dark: #000000;
JSON
{
  "hex": "#b287c7",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 199
  },
  "hsl": {
    "h": 280.313,
    "s": 36.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6873,
    "c": 0.10296,
    "h": 314.3
  },
  "luminance": 0.30916
}

Semantic roles & 50–950 ramp

primary
#B287C7
secondary
#D1E0CA
accent
#AF365E
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #B287C7

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

Preview Lab → · Contrast checker → · Palette generator →

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