#B287C3#B287C3

#B287C3 is a light, moderate purple. Relative luminance 0.307; OKLCH L 68.6% C 0.098 H 316.2°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#B287C3
RGBrgb(178, 135, 195)
HSLhsl(283, 33%, 65%)
HSVhsv(283, 31%, 76%)
CMYKcmyk(8.7%, 30.8%, 0%, 23.5%)
CIE-LABlab(62.28, 27.24, -24.90)
CIE-LCHlch(62.28, 36.90, 317.57°)
OKLaboklab(68.56% 0.0708 -0.068)
OKLCHoklch(68.56% 0.098 316.2)
XYZxyz(36.8729, 30.7338, 55.6090)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287C3 #98C387
analogous
#9487C3 #B287C3 #C387B6
triadic
#B287C3 #C3B287 #87C3B2
tetradic
#B287C3 #C39487 #98C387 #87B6C3
square
#B287C3 #C39487 #98C387 #87B6C3
split-complementary
#B287C3 #B6C387 #87C394
monochromatic
#77458A #985EAF #B287C3 #CCB0D7 #E6D9EC

Accessibility & contrast

On white

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

On black

7.15
#B287C3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287C3
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287C3#FFFFFF#000000##000000
##B287C31.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F94C5
Deuteranopia (green-blind)
#8898C1
Tritanopia (blue-blind)
#B28E9D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b287c3;
/* rgb */ color: rgb(178, 135, 195);
/* oklch */ color: oklch(68.6% 0.098 316.2);
Tailwind
colors: {
  custom: {
    50: '#c9aad5',
    500: '#b287c3',
    950: '#000000',
  },
}
SCSS
$custom: #b287c3;
$custom-light: #c9aad5;
$custom-dark: #000000;
JSON
{
  "hex": "#b287c3",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 195
  },
  "hsl": {
    "h": 283,
    "s": 33.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6856,
    "c": 0.0982,
    "h": 316.2
  },
  "luminance": 0.30733
}

Semantic roles & 50–950 ramp

primary
#B287C3
secondary
#CEDDC9
accent
#AC395A
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #B287C3

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

Preview Lab → · Contrast checker → · Palette generator →

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