#BF87F4#BF87F4

#BF87F4 is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.1% C 0.162 H 306.5°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#BF87F4
RGBrgb(191, 135, 244)
HSLhsl(271, 83%, 74%)
HSVhsv(271, 45%, 96%)
CMYKcmyk(21.7%, 44.7%, 0%, 4.3%)
CIE-LABlab(65.70, 41.76, -46.74)
CIE-LCHlch(65.70, 62.68, 311.78°)
OKLaboklab(72.14% 0.0964 -0.1304)
OKLCHoklch(72.14% 0.162 306.5)
XYZxyz(46.4757, 34.9363, 89.8654)
Luminance0.3494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF87F4 #BCF487
analogous
#8987F4 #BF87F4 #F487F2
triadic
#BF87F4 #F4BF87 #87F4BF
tetradic
#BF87F4 #F48987 #BCF487 #87F2F4
square
#BF87F4 #F48987 #BCF487 #87F2F4
split-complementary
#BF87F4 #F2F487 #87F489
monochromatic
#8317EA #A14FEF #BF87F4 #DDBFF9 #F0E3FC

Accessibility & contrast

On white

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

On black

7.99
#BF87F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF87F4
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF87F4#FFFFFF#000000##000000
##BF87F41.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9EF8
Deuteranopia (green-blind)
#7AA0F1
Tritanopia (blue-blind)
#B799B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bf87f4;
/* rgb */ color: rgb(191, 135, 244);
/* oklch */ color: oklch(72.1% 0.162 306.5);
Tailwind
colors: {
  custom: {
    50: '#d4abf8',
    500: '#bf87f4',
    950: '#000000',
  },
}
SCSS
$custom: #bf87f4;
$custom-light: #d4abf8;
$custom-dark: #000000;
JSON
{
  "hex": "#bf87f4",
  "rgb": {
    "r": 191,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 270.826,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72135,
    "c": 0.16216,
    "h": 306.5
  },
  "luminance": 0.34936
}

Semantic roles & 50–950 ramp

primary
#BF87F4
secondary
#E5F4D7
accent
#E00670
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BF87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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