#B287D0#B287D0

#B287D0 is a light, moderate violet. Relative luminance 0.313; OKLCH L 69.1% C 0.114 H 310.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#B287D0
RGBrgb(178, 135, 208)
HSLhsl(275, 44%, 67%)
HSVhsv(275, 35%, 82%)
CMYKcmyk(14.4%, 35.1%, 0%, 18.4%)
CIE-LABlab(62.80, 30.00, -31.40)
CIE-LCHlch(62.80, 43.43, 313.69°)
OKLaboklab(69.13% 0.0742 -0.0865)
OKLCHoklch(69.13% 0.114 310.6)
XYZxyz(38.4072, 31.3475, 63.6897)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287D0 #A5D087
analogous
#8D87D0 #B287D0 #D087CA
triadic
#B287D0 #D0B287 #87D0B2
tetradic
#B287D0 #D08D87 #A5D087 #87CAD0
square
#B287D0 #D08D87 #A5D087 #87CAD0
split-complementary
#B287D0 #CAD087 #87D08D
monochromatic
#773E9F #965BBF #B287D0 #CEB3E1 #EADFF2

Accessibility & contrast

On white

2.89
#B287D0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#B287D0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287D0
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287D0#FFFFFF#000000##000000
##B287D01.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A96D3
Deuteranopia (green-blind)
#8399CE
Tritanopia (blue-blind)
#AF91A2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b287d0;
/* rgb */ color: rgb(178, 135, 208);
/* oklch */ color: oklch(69.1% 0.114 310.6);
Tailwind
colors: {
  custom: {
    50: '#caaade',
    500: '#b287d0',
    950: '#000000',
  },
}
SCSS
$custom: #b287d0;
$custom-light: #caaade;
$custom-dark: #000000;
JSON
{
  "hex": "#b287d0",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 208
  },
  "hsl": {
    "h": 275.342,
    "s": 43.713,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69125,
    "c": 0.11392,
    "h": 310.6
  },
  "luminance": 0.31347
}

Semantic roles & 50–950 ramp

primary
#B287D0
secondary
#D7E5CE
accent
#B72F67
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B287D0

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

Preview Lab → · Contrast checker → · Palette generator →

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