#B87FDF#B87FDF

#B87FDF is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.1% C 0.148 H 310.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#B87FDF
RGBrgb(184, 127, 223)
HSLhsl(276, 60%, 69%)
HSVhsv(276, 43%, 87%)
CMYKcmyk(17.5%, 43%, 0%, 12.5%)
CIE-LABlab(62.25, 39.50, -40.59)
CIE-LCHlch(62.25, 56.64, 314.22°)
OKLaboklab(69.07% 0.0958 -0.1127)
OKLCHoklch(69.07% 0.148 310.4)
XYZxyz(40.6734, 30.6974, 73.5803)
Luminance0.3070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FDF #A6DF7F
analogous
#887FDF #B87FDF #DF7FD6
triadic
#B87FDF #DFB87F #7FDFB8
tetradic
#B87FDF #DF887F #A6DF7F #7FD6DF
square
#B87FDF #DF887F #A6DF7F #7FD6DF
split-complementary
#B87FDF #D6DF7F #7FDF88
monochromatic
#7F2EB6 #9D4ED3 #B87FDF #D3B0EB #EEE1F7

Accessibility & contrast

On white

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

On black

7.14
#B87FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87FDF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FDF#FFFFFF#000000##000000
##B87FDF1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A94E2
Deuteranopia (green-blind)
#7998DC
Tritanopia (blue-blind)
#B38EA4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b87fdf;
/* rgb */ color: rgb(184, 127, 223);
/* oklch */ color: oklch(69.1% 0.148 310.4);
Tailwind
colors: {
  custom: {
    50: '#cfa5e9',
    500: '#b87fdf',
    950: '#000000',
  },
}
SCSS
$custom: #b87fdf;
$custom-light: #cfa5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b87fdf",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 275.625,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69065,
    "c": 0.14796,
    "h": 310.4
  },
  "luminance": 0.30697
}

Semantic roles & 50–950 ramp

primary
#B87FDF
secondary
#DAEBCF
accent
#C81E63
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B87FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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