#BF87F2#BF87F2

#BF87F2 is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.0% C 0.160 H 307.0°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#BF87F2
RGBrgb(191, 135, 242)
HSLhsl(271, 80%, 74%)
HSVhsv(271, 44%, 95%)
CMYKcmyk(21.1%, 44.2%, 0%, 5.1%)
CIE-LABlab(65.60, 41.31, -45.79)
CIE-LCHlch(65.60, 61.67, 312.06°)
OKLaboklab(72.03% 0.0961 -0.1277)
OKLCHoklch(72.03% 0.16 307)
XYZxyz(46.1737, 34.8155, 88.2748)
Luminance0.3482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF87F2 #BAF287
analogous
#8A87F2 #BF87F2 #F287EF
triadic
#BF87F2 #F2BF87 #87F2BF
tetradic
#BF87F2 #F28A87 #BAF287 #87EFF2
square
#BF87F2 #F28A87 #BAF287 #87EFF2
split-complementary
#BF87F2 #EFF287 #87F28A
monochromatic
#8419E6 #A250EC #BF87F2 #DCBEF8 #F0E3FC

Accessibility & contrast

On white

2.64
#BF87F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#BF87F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF87F2
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF87F2#FFFFFF#000000##000000
##BF87F21.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#7BA0EF
Tritanopia (blue-blind)
#B898B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bf87f2;
/* rgb */ color: rgb(191, 135, 242);
/* oklch */ color: oklch(72.0% 0.160 307.0);
Tailwind
colors: {
  custom: {
    50: '#d4abf7',
    500: '#bf87f2',
    950: '#000000',
  },
}
SCSS
$custom: #bf87f2;
$custom-light: #d4abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#bf87f2",
  "rgb": {
    "r": 191,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 271.402,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72033,
    "c": 0.15976,
    "h": 307
  },
  "luminance": 0.34815
}

Semantic roles & 50–950 ramp

primary
#BF87F2
secondary
#E5F4D7
accent
#DD096E
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#141017
muted
#837F85

Preview Lab

Preview with #BF87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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