#B87FDD#B87FDD

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

Color values

HEX#B87FDD
RGBrgb(184, 127, 221)
HSLhsl(276, 58%, 68%)
HSVhsv(276, 43%, 87%)
CMYKcmyk(16.7%, 42.5%, 0%, 13.3%)
CIE-LABlab(62.16, 39.06, -39.62)
CIE-LCHlch(62.16, 55.64, 314.59°)
OKLaboklab(68.97% 0.0955 -0.1099)
OKLCHoklch(68.97% 0.146 311)
XYZxyz(40.4054, 30.5902, 72.1686)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FDD #A4DD7F
analogous
#897FDD #B87FDD #DD7FD3
triadic
#B87FDD #DDB87F #7FDDB8
tetradic
#B87FDD #DD897F #A4DD7F #7FD3DD
square
#B87FDD #DD897F #A4DD7F #7FD3DD
split-complementary
#B87FDD #D3DD7F #7FDD89
monochromatic
#7F2FB2 #9D4FD0 #B87FDD #D3AFEA #EEE0F7

Accessibility & contrast

On white

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

On black

7.12
#B87FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87FDD
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FDD#FFFFFF#000000##000000
##B87FDD1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B93E0
Deuteranopia (green-blind)
#7A97DA
Tritanopia (blue-blind)
#B48DA3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b87fdd;
/* rgb */ color: rgb(184, 127, 221);
/* oklch */ color: oklch(69.0% 0.146 311.0);
Tailwind
colors: {
  custom: {
    50: '#cfa5e8',
    500: '#b87fdd',
    950: '#000000',
  },
}
SCSS
$custom: #b87fdd;
$custom-light: #cfa5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b87fdd",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 221
  },
  "hsl": {
    "h": 276.383,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68967,
    "c": 0.1456,
    "h": 311
  },
  "luminance": 0.3059
}

Semantic roles & 50–950 ramp

primary
#B87FDD
secondary
#D9EACE
accent
#C62061
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B87FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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