#B287D3#B287D3

#B287D3 is a light, moderate violet. Relative luminance 0.315; OKLCH L 69.3% C 0.118 H 309.5°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#B287D3
RGBrgb(178, 135, 211)
HSLhsl(274, 46%, 68%)
HSVhsv(274, 36%, 83%)
CMYKcmyk(15.6%, 36%, 0%, 17.3%)
CIE-LABlab(62.92, 30.65, -32.89)
CIE-LCHlch(62.92, 44.96, 312.99°)
OKLaboklab(69.26% 0.0749 -0.0907)
OKLCHoklch(69.26% 0.118 309.5)
XYZxyz(38.7798, 31.4965, 65.6519)
Luminance0.3150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287D3 #A8D387
analogous
#8C87D3 #B287D3 #D387CE
triadic
#B287D3 #D3B287 #87D3B2
tetradic
#B287D3 #D38C87 #A8D387 #87CED3
square
#B287D3 #D38C87 #A8D387 #87CED3
split-complementary
#B287D3 #CED387 #87D38C
monochromatic
#773CA4 #955AC3 #B287D3 #CFB4E3 #EBE1F4

Accessibility & contrast

On white

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

On black

7.30
#B287D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287D3
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287D3#FFFFFF#000000##000000
##B287D31.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7896D6
Deuteranopia (green-blind)
#8299D1
Tritanopia (blue-blind)
#AE92A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b287d3;
/* rgb */ color: rgb(178, 135, 211);
/* oklch */ color: oklch(69.3% 0.118 309.5);
Tailwind
colors: {
  custom: {
    50: '#caaae0',
    500: '#b287d3',
    950: '#000000',
  },
}
SCSS
$custom: #b287d3;
$custom-light: #caaae0;
$custom-dark: #000000;
JSON
{
  "hex": "#b287d3",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 211
  },
  "hsl": {
    "h": 273.947,
    "s": 46.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69261,
    "c": 0.11763,
    "h": 309.5
  },
  "luminance": 0.31496
}

Semantic roles & 50–950 ramp

primary
#B287D3
secondary
#D9E7CF
accent
#BA2C69
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B287D3

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

Preview Lab → · Contrast checker → · Palette generator →

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