#BF87F5#BF87F5

#BF87F5 is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.2% C 0.163 H 306.2°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#BF87F5
RGBrgb(191, 135, 245)
HSLhsl(271, 85%, 75%)
HSVhsv(271, 45%, 96%)
CMYKcmyk(22%, 44.9%, 0%, 3.9%)
CIE-LABlab(65.75, 41.99, -47.22)
CIE-LCHlch(65.75, 63.18, 311.64°)
OKLaboklab(72.19% 0.0965 -0.1318)
OKLCHoklch(72.19% 0.163 306.2)
XYZxyz(46.6279, 34.9972, 90.6672)
Luminance0.3500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF87F5 #BDF587
analogous
#8887F5 #BF87F5 #F587F4
triadic
#BF87F5 #F5BF87 #87F5BF
tetradic
#BF87F5 #F58887 #BDF587 #87F4F5
square
#BF87F5 #F58887 #BDF587 #87F4F5
split-complementary
#BF87F5 #F4F587 #87F588
monochromatic
#8316EC #A14FF0 #BF87F5 #DDBFFA #F0E3FD

Accessibility & contrast

On white

2.63
#BF87F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#BF87F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF87F5
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF87F5#FFFFFF#000000##000000
##BF87F51.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9EF9
Deuteranopia (green-blind)
#79A0F2
Tritanopia (blue-blind)
#B799B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bf87f5;
/* rgb */ color: rgb(191, 135, 245);
/* oklch */ color: oklch(72.2% 0.163 306.2);
Tailwind
colors: {
  custom: {
    50: '#d4abf9',
    500: '#bf87f5',
    950: '#000000',
  },
}
SCSS
$custom: #bf87f5;
$custom-light: #d4abf9;
$custom-dark: #000000;
JSON
{
  "hex": "#bf87f5",
  "rgb": {
    "r": 191,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 270.545,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72186,
    "c": 0.16335,
    "h": 306.2
  },
  "luminance": 0.34997
}

Semantic roles & 50–950 ramp

primary
#BF87F5
secondary
#E5F5D6
accent
#E10471
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BF87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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