#B87FDB#B87FDB

#B87FDB is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.9% C 0.143 H 311.6°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#B87FDB
RGBrgb(184, 127, 219)
HSLhsl(277, 56%, 68%)
HSVhsv(277, 42%, 86%)
CMYKcmyk(16%, 42%, 0%, 14.1%)
CIE-LABlab(62.07, 38.62, -38.64)
CIE-LCHlch(62.07, 54.64, 314.99°)
OKLaboklab(68.87% 0.0951 -0.1071)
OKLCHoklch(68.87% 0.143 311.6)
XYZxyz(40.1405, 30.4843, 70.7736)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FDB #A2DB7F
analogous
#8A7FDB #B87FDB #DB7FD0
triadic
#B87FDB #DBB87F #7FDBB8
tetradic
#B87FDB #DB8A7F #A2DB7F #7FD0DB
square
#B87FDB #DB8A7F #A2DB7F #7FD0DB
split-complementary
#B87FDB #D0DB7F #7FDB8A
monochromatic
#7F31AF #9E4FCE #B87FDB #D2AFE8 #EDDFF6

Accessibility & contrast

On white

2.96
#B87FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#B87FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87FDB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FDB#FFFFFF#000000##000000
##B87FDB1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b87fdb;
/* rgb */ color: rgb(184, 127, 219);
/* oklch */ color: oklch(68.9% 0.143 311.6);
Tailwind
colors: {
  custom: {
    50: '#cfa5e6',
    500: '#b87fdb',
    950: '#000000',
  },
}
SCSS
$custom: #b87fdb;
$custom-light: #cfa5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b87fdb",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 277.174,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6887,
    "c": 0.14326,
    "h": 311.6
  },
  "luminance": 0.30484
}

Semantic roles & 50–950 ramp

primary
#B87FDB
secondary
#D8E9CD
accent
#C4225F
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B87FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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