#B287C4#B287C4

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

Color values

HEX#B287C4
RGBrgb(178, 135, 196)
HSLhsl(282, 34%, 65%)
HSVhsv(282, 31%, 77%)
CMYKcmyk(9.2%, 31.1%, 0%, 23.1%)
CIE-LABlab(62.32, 27.45, -25.40)
CIE-LCHlch(62.32, 37.40, 317.22°)
OKLaboklab(68.6% 0.0711 -0.0694)
OKLCHoklch(68.6% 0.099 315.7)
XYZxyz(36.9864, 30.7792, 56.2064)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287C4 #99C487
analogous
#9487C4 #B287C4 #C487B8
triadic
#B287C4 #C4B287 #87C4B2
tetradic
#B287C4 #C49487 #99C487 #87B8C4
square
#B287C4 #C49487 #99C487 #87B8C4
split-complementary
#B287C4 #B8C487 #87C494
monochromatic
#77458C #985EB0 #B287C4 #CCB0D8 #E7D9EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B287C4#FFFFFF#000000##000000
##B287C41.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)
#7E94C6
Deuteranopia (green-blind)
#8898C2
Tritanopia (blue-blind)
#B18E9D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b287c4;
/* rgb */ color: rgb(178, 135, 196);
/* oklch */ color: oklch(68.6% 0.099 315.7);
Tailwind
colors: {
  custom: {
    50: '#c9aad6',
    500: '#b287c4',
    950: '#000000',
  },
}
SCSS
$custom: #b287c4;
$custom-light: #c9aad6;
$custom-dark: #000000;
JSON
{
  "hex": "#b287c4",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 196
  },
  "hsl": {
    "h": 282.295,
    "s": 34.078,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68603,
    "c": 0.09938,
    "h": 315.7
  },
  "luminance": 0.30778
}

Semantic roles & 50–950 ramp

primary
#B287C4
secondary
#CFDEC9
accent
#AD395B
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #B287C4

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

Preview Lab → · Contrast checker → · Palette generator →

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