#BF87F8#BF87F8

#BF87F8 is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.3% C 0.167 H 305.5°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#BF87F8
RGBrgb(191, 135, 248)
HSLhsl(270, 89%, 75%)
HSVhsv(270, 46%, 97%)
CMYKcmyk(23%, 45.6%, 0%, 2.7%)
CIE-LABlab(65.89, 42.66, -48.64)
CIE-LCHlch(65.89, 64.70, 311.26°)
OKLaboklab(72.34% 0.0969 -0.1359)
OKLCHoklch(72.34% 0.167 305.5)
XYZxyz(47.0896, 35.1819, 93.0988)
Luminance0.3518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF87F8 #C0F887
analogous
#8787F8 #BF87F8 #F887F8
triadic
#BF87F8 #F8BF87 #87F8BF
tetradic
#BF87F8 #F88787 #C0F887 #87F8F8
square
#BF87F8 #F88787 #C0F887 #87F8F8
split-complementary
#BF87F8 #F8F887 #87F887
monochromatic
#8113F1 #A04DF5 #BF87F8 #DEC1FB #F0E2FD

Accessibility & contrast

On white

2.61
#BF87F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#BF87F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF87F8
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF87F8#FFFFFF#000000##000000
##BF87F81.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFC
Deuteranopia (green-blind)
#77A0F5
Tritanopia (blue-blind)
#B69AB4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bf87f8;
/* rgb */ color: rgb(191, 135, 248);
/* oklch */ color: oklch(72.3% 0.167 305.5);
Tailwind
colors: {
  custom: {
    50: '#d4abfb',
    500: '#bf87f8',
    950: '#000000',
  },
}
SCSS
$custom: #bf87f8;
$custom-light: #d4abfb;
$custom-dark: #000000;
JSON
{
  "hex": "#bf87f8",
  "rgb": {
    "r": 191,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 269.735,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7234,
    "c": 0.16694,
    "h": 305.5
  },
  "luminance": 0.35182
}

Semantic roles & 50–950 ramp

primary
#BF87F8
secondary
#E6F5D6
accent
#E60074
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BF87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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