#BF87EA#BF87EA

#BF87EA is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.6% C 0.150 H 309.1°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#BF87EA
RGBrgb(191, 135, 234)
HSLhsl(274, 70%, 72%)
HSVhsv(274, 42%, 92%)
CMYKcmyk(18.4%, 42.3%, 0%, 8.2%)
CIE-LABlab(65.24, 39.54, -41.96)
CIE-LCHlch(65.24, 57.66, 313.30°)
OKLaboklab(71.64% 0.0948 -0.1166)
OKLCHoklch(71.64% 0.15 309.1)
XYZxyz(44.9983, 34.3454, 82.0848)
Luminance0.3434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF87EA #B2EA87
analogous
#8D87EA #BF87EA #EA87E4
triadic
#BF87EA #EABF87 #87EABF
tetradic
#BF87EA #EA8D87 #B2EA87 #87E4EA
square
#BF87EA #EA8D87 #B2EA87 #87E4EA
split-complementary
#BF87EA #E4EA87 #87EA8D
monochromatic
#8725D2 #A353E1 #BF87EA #DBBBF3 #F1E5FA

Accessibility & contrast

On white

2.67
#BF87EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#BF87EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF87EA
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF87EA#FFFFFF#000000##000000
##BF87EA1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEE
Deuteranopia (green-blind)
#7F9FE7
Tritanopia (blue-blind)
#BA96AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bf87ea;
/* rgb */ color: rgb(191, 135, 234);
/* oklch */ color: oklch(71.6% 0.150 309.1);
Tailwind
colors: {
  custom: {
    50: '#d4abf1',
    500: '#bf87ea',
    950: '#000000',
  },
}
SCSS
$custom: #bf87ea;
$custom-light: #d4abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#bf87ea",
  "rgb": {
    "r": 191,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 273.939,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71636,
    "c": 0.15024,
    "h": 309.1
  },
  "luminance": 0.34345
}

Semantic roles & 50–950 ramp

primary
#BF87EA
secondary
#E4F2D9
accent
#D21366
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BF87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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