#B287D2#B287D2

#B287D2 is a light, moderate violet. Relative luminance 0.314; OKLCH L 69.2% C 0.116 H 309.9°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#B287D2
RGBrgb(178, 135, 210)
HSLhsl(274, 45%, 68%)
HSVhsv(274, 36%, 82%)
CMYKcmyk(15.2%, 35.7%, 0%, 17.6%)
CIE-LABlab(62.88, 30.43, -32.39)
CIE-LCHlch(62.88, 44.45, 313.22°)
OKLaboklab(69.22% 0.0746 -0.0893)
OKLCHoklch(69.22% 0.116 309.9)
XYZxyz(38.6548, 31.4465, 64.9937)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287D2 #A7D287
analogous
#8C87D2 #B287D2 #D287CD
triadic
#B287D2 #D2B287 #87D2B2
tetradic
#B287D2 #D28C87 #A7D287 #87CDD2
square
#B287D2 #D28C87 #A7D287 #87CDD2
split-complementary
#B287D2 #CDD287 #87D28C
monochromatic
#773DA2 #955AC1 #B287D2 #CFB4E3 #EBE0F3

Accessibility & contrast

On white

2.88
#B287D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#B287D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287D2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287D2#FFFFFF#000000##000000
##B287D21.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7996D5
Deuteranopia (green-blind)
#8399D0
Tritanopia (blue-blind)
#AE92A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b287d2;
/* rgb */ color: rgb(178, 135, 210);
/* oklch */ color: oklch(69.2% 0.116 309.9);
Tailwind
colors: {
  custom: {
    50: '#caaae0',
    500: '#b287d2',
    950: '#000000',
  },
}
SCSS
$custom: #b287d2;
$custom-light: #caaae0;
$custom-dark: #000000;
JSON
{
  "hex": "#b287d2",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 274.4,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69215,
    "c": 0.11639,
    "h": 309.9
  },
  "luminance": 0.31446
}

Semantic roles & 50–950 ramp

primary
#B287D2
secondary
#D9E6CF
accent
#B92D68
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B287D2

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

Preview Lab → · Contrast checker → · Palette generator →

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