#B287C0#B287C0

#B287C0 is a light, moderate purple. Relative luminance 0.306; OKLCH L 68.4% C 0.095 H 317.7°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#B287C0
RGBrgb(178, 135, 192)
HSLhsl(285, 31%, 64%)
HSVhsv(285, 30%, 75%)
CMYKcmyk(7.3%, 29.7%, 0%, 24.7%)
CIE-LABlab(62.17, 26.62, -23.38)
CIE-LCHlch(62.17, 35.43, 318.71°)
OKLaboklab(68.44% 0.07 -0.0637)
OKLCHoklch(68.44% 0.095 317.7)
XYZxyz(36.5371, 30.5995, 53.8405)
Luminance0.3060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287C0 #95C087
analogous
#9687C0 #B287C0 #C087B2
triadic
#B287C0 #C0B287 #87C0B2
tetradic
#B287C0 #C09687 #95C087 #87B2C0
square
#B287C0 #C09687 #95C087 #87B2C0
split-complementary
#B287C0 #B2C087 #87C096
monochromatic
#774686 #985FAB #B287C0 #CCAFD5 #E6D7EA

Accessibility & contrast

On white

2.95
#B287C0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#B287C0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287C0
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287C0#FFFFFF#000000##000000
##B287C01.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8093C2
Deuteranopia (green-blind)
#8998BE
Tritanopia (blue-blind)
#B28D9B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b287c0;
/* rgb */ color: rgb(178, 135, 192);
/* oklch */ color: oklch(68.4% 0.095 317.7);
Tailwind
colors: {
  custom: {
    50: '#c9aad3',
    500: '#b287c0',
    950: '#000000',
  },
}
SCSS
$custom: #b287c0;
$custom-light: #c9aad3;
$custom-dark: #000000;
JSON
{
  "hex": "#b287c0",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 192
  },
  "hsl": {
    "h": 285.263,
    "s": 31.148,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68436,
    "c": 0.09466,
    "h": 317.7
  },
  "luminance": 0.30599
}

Semantic roles & 50–950 ramp

primary
#B287C0
secondary
#CCDBC7
accent
#AA3C57
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #B287C0

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

Preview Lab → · Contrast checker → · Palette generator →

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