#B287C1#B287C1

#B287C1 is a light, moderate purple. Relative luminance 0.306; OKLCH L 68.5% C 0.096 H 317.2°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B287C1
RGBrgb(178, 135, 193)
HSLhsl(284, 32%, 64%)
HSVhsv(284, 30%, 76%)
CMYKcmyk(7.8%, 30.1%, 0%, 24.3%)
CIE-LABlab(62.21, 26.83, -23.89)
CIE-LCHlch(62.21, 35.92, 318.32°)
OKLaboklab(68.48% 0.0703 -0.0651)
OKLCHoklch(68.48% 0.096 317.2)
XYZxyz(36.6483, 30.6439, 54.4260)
Luminance0.3064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287C1 #96C187
analogous
#9587C1 #B287C1 #C187B3
triadic
#B287C1 #C1B287 #87C1B2
tetradic
#B287C1 #C19587 #96C187 #87B3C1
square
#B287C1 #C19587 #96C187 #87B3C1
split-complementary
#B287C1 #B3C187 #87C195
monochromatic
#774688 #985FAC #B287C1 #CCAFD6 #E6D8EB

Accessibility & contrast

On white

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

On black

7.13
#B287C1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287C1
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287C1#FFFFFF#000000##000000
##B287C11.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F94C3
Deuteranopia (green-blind)
#8998BF
Tritanopia (blue-blind)
#B28E9C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b287c1;
/* rgb */ color: rgb(178, 135, 193);
/* oklch */ color: oklch(68.5% 0.096 317.2);
Tailwind
colors: {
  custom: {
    50: '#c9aad4',
    500: '#b287c1',
    950: '#000000',
  },
}
SCSS
$custom: #b287c1;
$custom-light: #c9aad4;
$custom-dark: #000000;
JSON
{
  "hex": "#b287c1",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 193
  },
  "hsl": {
    "h": 284.483,
    "s": 31.868,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68477,
    "c": 0.09583,
    "h": 317.2
  },
  "luminance": 0.30643
}

Semantic roles & 50–950 ramp

primary
#B287C1
secondary
#CDDCC8
accent
#AB3B58
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #B287C1

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

Preview Lab → · Contrast checker → · Palette generator →

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