#B87FDA#B87FDA

#B87FDA is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.8% C 0.142 H 311.9°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#B87FDA
RGBrgb(184, 127, 218)
HSLhsl(278, 55%, 68%)
HSVhsv(278, 42%, 85%)
CMYKcmyk(15.6%, 41.7%, 0%, 14.5%)
CIE-LABlab(62.02, 38.41, -38.16)
CIE-LCHlch(62.02, 54.14, 315.19°)
OKLaboklab(68.82% 0.095 -0.1057)
OKLCHoklch(68.82% 0.142 311.9)
XYZxyz(40.0092, 30.4318, 70.0823)
Luminance0.3043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FDA #A1DA7F
analogous
#8A7FDA #B87FDA #DA7FCF
triadic
#B87FDA #DAB87F #7FDAB8
tetradic
#B87FDA #DA8A7F #A1DA7F #7FCFDA
square
#B87FDA #DA8A7F #A1DA7F #7FCFDA
split-complementary
#B87FDA #CFDA7F #7FDA8A
monochromatic
#7F32AD #9E50CC #B87FDA #D2AEE8 #EDDEF5

Accessibility & contrast

On white

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

On black

7.09
#B87FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87FDA
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FDA#FFFFFF#000000##000000
##B87FDA1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D93DD
Deuteranopia (green-blind)
#7B97D7
Tritanopia (blue-blind)
#B58CA2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b87fda;
/* rgb */ color: rgb(184, 127, 218);
/* oklch */ color: oklch(68.8% 0.142 311.9);
Tailwind
colors: {
  custom: {
    50: '#cfa5e6',
    500: '#b87fda',
    950: '#000000',
  },
}
SCSS
$custom: #b87fda;
$custom-light: #cfa5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b87fda",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 277.582,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68821,
    "c": 0.14209,
    "h": 311.9
  },
  "luminance": 0.30431
}

Semantic roles & 50–950 ramp

primary
#B87FDA
secondary
#D7E9CC
accent
#C3235F
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B87FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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