#B287C5#B287C5

#B287C5 is a light, moderate purple. Relative luminance 0.308; OKLCH L 68.6% C 0.101 H 315.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#B287C5
RGBrgb(178, 135, 197)
HSLhsl(282, 35%, 65%)
HSVhsv(282, 31%, 77%)
CMYKcmyk(9.6%, 31.5%, 0%, 22.7%)
CIE-LABlab(62.36, 27.66, -25.91)
CIE-LCHlch(62.36, 37.89, 316.87°)
OKLaboklab(68.65% 0.0714 -0.0708)
OKLCHoklch(68.65% 0.101 315.2)
XYZxyz(37.1006, 30.8248, 56.8079)
Luminance0.3082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287C5 #9AC587
analogous
#9387C5 #B287C5 #C587B9
triadic
#B287C5 #C5B287 #87C5B2
tetradic
#B287C5 #C59387 #9AC587 #87B9C5
square
#B287C5 #C59387 #9AC587 #87B9C5
split-complementary
#B287C5 #B9C587 #87C593
monochromatic
#77448D #985EB1 #B287C5 #CCB0D9 #E7DAED

Accessibility & contrast

On white

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

On black

7.16
#B287C5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287C5
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287C5#FFFFFF#000000##000000
##B287C51.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E94C7
Deuteranopia (green-blind)
#8898C3
Tritanopia (blue-blind)
#B18F9D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b287c5;
/* rgb */ color: rgb(178, 135, 197);
/* oklch */ color: oklch(68.6% 0.101 315.2);
Tailwind
colors: {
  custom: {
    50: '#c9aad6',
    500: '#b287c5',
    950: '#000000',
  },
}
SCSS
$custom: #b287c5;
$custom-light: #c9aad6;
$custom-dark: #000000;
JSON
{
  "hex": "#b287c5",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 197
  },
  "hsl": {
    "h": 281.613,
    "s": 34.831,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68645,
    "c": 0.10057,
    "h": 315.2
  },
  "luminance": 0.30824
}

Semantic roles & 50–950 ramp

primary
#B287C5
secondary
#D0DEC9
accent
#AE385C
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #B287C5

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

Preview Lab → · Contrast checker → · Palette generator →

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