#B287C2#B287C2

#B287C2 is a light, moderate purple. Relative luminance 0.307; OKLCH L 68.5% C 0.097 H 316.7°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#B287C2
RGBrgb(178, 135, 194)
HSLhsl(284, 33%, 65%)
HSVhsv(284, 30%, 76%)
CMYKcmyk(8.2%, 30.4%, 0%, 23.9%)
CIE-LABlab(62.24, 27.03, -24.39)
CIE-LCHlch(62.24, 36.41, 317.94°)
OKLaboklab(68.52% 0.0706 -0.0666)
OKLCHoklch(68.52% 0.097 316.7)
XYZxyz(36.7602, 30.6887, 55.0155)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287C2 #97C287
analogous
#9587C2 #B287C2 #C287B5
triadic
#B287C2 #C2B287 #87C2B2
tetradic
#B287C2 #C29587 #97C287 #87B5C2
square
#B287C2 #C29587 #97C287 #87B5C2
split-complementary
#B287C2 #B5C287 #87C295
monochromatic
#774689 #985EAD #B287C2 #CCB0D7 #E6D8EB

Accessibility & contrast

On white

2.94
#B287C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#B287C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287C2
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287C2#FFFFFF#000000##000000
##B287C21.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b287c2;
/* rgb */ color: rgb(178, 135, 194);
/* oklch */ color: oklch(68.5% 0.097 316.7);
Tailwind
colors: {
  custom: {
    50: '#c9aad4',
    500: '#b287c2',
    950: '#000000',
  },
}
SCSS
$custom: #b287c2;
$custom-light: #c9aad4;
$custom-dark: #000000;
JSON
{
  "hex": "#b287c2",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 283.729,
    "s": 32.597,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68519,
    "c": 0.09701,
    "h": 316.7
  },
  "luminance": 0.30688
}

Semantic roles & 50–950 ramp

primary
#B287C2
secondary
#CEDDC8
accent
#AB3A59
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #B287C2

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

Preview Lab → · Contrast checker → · Palette generator →

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