#BF87FC#BF87FC

#BF87FC is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.5% C 0.172 H 304.6°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#BF87FC
RGBrgb(191, 135, 252)
HSLhsl(269, 95%, 76%)
HSVhsv(269, 46%, 99%)
CMYKcmyk(24.2%, 46.4%, 0%, 1.2%)
CIE-LABlab(66.08, 43.58, -50.52)
CIE-LCHlch(66.08, 66.72, 310.78°)
OKLaboklab(72.55% 0.0974 -0.1414)
OKLCHoklch(72.55% 0.172 304.6)
XYZxyz(47.7168, 35.4328, 96.4020)
Luminance0.3543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF87FC #C4FC87
analogous
#8789FC #BF87FC #FA87FC
triadic
#BF87FC #FCBF87 #87FCBF
tetradic
#BF87FC #FC8789 #C4FC87 #87FCFA
square
#BF87FC #FC8789 #C4FC87 #87FCFA
split-complementary
#BF87FC #FCFA87 #89FC87
monochromatic
#7F10F9 #9F4BFB #BF87FC #DFC3FD #EFE1FE

Accessibility & contrast

On white

2.60
#BF87FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#BF87FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF87FC
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF87FC#FFFFFF#000000##000000
##BF87FC1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#75A1F9
Tritanopia (blue-blind)
#B59BB6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bf87fc;
/* rgb */ color: rgb(191, 135, 252);
/* oklch */ color: oklch(72.5% 0.172 304.6);
Tailwind
colors: {
  custom: {
    50: '#d5abfe',
    500: '#bf87fc',
    950: '#000000',
  },
}
SCSS
$custom: #bf87fc;
$custom-light: #d5abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#bf87fc",
  "rgb": {
    "r": 191,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 268.718,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72549,
    "c": 0.17172,
    "h": 304.6
  },
  "luminance": 0.35433
}

Semantic roles & 50–950 ramp

primary
#BF87FC
secondary
#E6F6D5
accent
#E60078
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BF87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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