#B87FDE#B87FDE

#B87FDE is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.0% C 0.147 H 310.7°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B87FDE
RGBrgb(184, 127, 222)
HSLhsl(276, 59%, 68%)
HSVhsv(276, 43%, 87%)
CMYKcmyk(17.1%, 42.8%, 0%, 12.9%)
CIE-LABlab(62.21, 39.28, -40.11)
CIE-LCHlch(62.21, 56.13, 314.40°)
OKLaboklab(69.02% 0.0957 -0.1113)
OKLCHoklch(69.02% 0.147 310.7)
XYZxyz(40.5390, 30.6437, 72.8723)
Luminance0.3064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FDE #A5DE7F
analogous
#887FDE #B87FDE #DE7FD4
triadic
#B87FDE #DEB87F #7FDEB8
tetradic
#B87FDE #DE887F #A5DE7F #7FD4DE
square
#B87FDE #DE887F #A5DE7F #7FD4DE
split-complementary
#B87FDE #D4DE7F #7FDE88
monochromatic
#7F2EB4 #9D4ED1 #B87FDE #D3B0EB #EEE0F7

Accessibility & contrast

On white

2.95
#B87FDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#B87FDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87FDE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FDE#FFFFFF#000000##000000
##B87FDE1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B94E1
Deuteranopia (green-blind)
#7997DB
Tritanopia (blue-blind)
#B48DA4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b87fde;
/* rgb */ color: rgb(184, 127, 222);
/* oklch */ color: oklch(69.0% 0.147 310.7);
Tailwind
colors: {
  custom: {
    50: '#cfa5e8',
    500: '#b87fde',
    950: '#000000',
  },
}
SCSS
$custom: #b87fde;
$custom-light: #cfa5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b87fde",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 222
  },
  "hsl": {
    "h": 276,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69016,
    "c": 0.14679,
    "h": 310.7
  },
  "luminance": 0.30643
}

Semantic roles & 50–950 ramp

primary
#B87FDE
secondary
#DAEBCE
accent
#C71F62
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B87FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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