#B287D9#B287D9

#B287D9 is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.5% C 0.125 H 307.5°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#B287D9
RGBrgb(178, 135, 217)
HSLhsl(271, 52%, 69%)
HSVhsv(271, 38%, 85%)
CMYKcmyk(18%, 37.8%, 0%, 14.9%)
CIE-LABlab(63.18, 31.98, -35.84)
CIE-LCHlch(63.18, 48.03, 311.74°)
OKLaboklab(69.54% 0.0762 -0.0992)
OKLCHoklch(69.54% 0.125 307.5)
XYZxyz(39.5461, 31.8030, 69.6875)
Luminance0.3180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287D9 #AED987
analogous
#8987D9 #B287D9 #D987D7
triadic
#B287D9 #D9B287 #87D9B2
tetradic
#B287D9 #D98987 #AED987 #87D7D9
square
#B287D9 #D98987 #AED987 #87D7D9
split-complementary
#B287D9 #D7D987 #87D989
monochromatic
#7637AE #9459CA #B287D9 #D0B5E8 #EEE4F6

Accessibility & contrast

On white

2.85
#B287D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#B287D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287D9
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287D9#FFFFFF#000000##000000
##B287D91.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7697DC
Deuteranopia (green-blind)
#7F99D7
Tritanopia (blue-blind)
#AD93A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b287d9;
/* rgb */ color: rgb(178, 135, 217);
/* oklch */ color: oklch(69.5% 0.125 307.5);
Tailwind
colors: {
  custom: {
    50: '#caaae5',
    500: '#b287d9',
    950: '#000000',
  },
}
SCSS
$custom: #b287d9;
$custom-light: #caaae5;
$custom-dark: #000000;
JSON
{
  "hex": "#b287d9",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 217
  },
  "hsl": {
    "h": 271.463,
    "s": 51.899,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69538,
    "c": 0.12508,
    "h": 307.5
  },
  "luminance": 0.31803
}

Semantic roles & 50–950 ramp

primary
#B287D9
secondary
#DDEAD2
accent
#BF266F
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131015
muted
#827F84

Preview Lab

Preview with #B287D9

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

Preview Lab → · Contrast checker → · Palette generator →

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