#BE87F0#BE87F0

#BE87F0 is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.8% C 0.157 H 307.0°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#BE87F0
RGBrgb(190, 135, 240)
HSLhsl(271, 78%, 74%)
HSVhsv(271, 44%, 94%)
CMYKcmyk(20.8%, 43.8%, 0%, 5.9%)
CIE-LABlab(65.41, 40.59, -45.01)
CIE-LCHlch(65.41, 60.60, 312.04°)
OKLaboklab(71.83% 0.0946 -0.1254)
OKLCHoklch(71.83% 0.157 307)
XYZxyz(45.6242, 34.5668, 86.6897)
Luminance0.3457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE87F0 #B9F087
analogous
#8987F0 #BE87F0 #F087ED
triadic
#BE87F0 #F0BE87 #87F0BE
tetradic
#BE87F0 #F08987 #B9F087 #87EDF0
square
#BE87F0 #F08987 #B9F087 #87EDF0
split-complementary
#BE87F0 #EDF087 #87F089
monochromatic
#831CE1 #A151E9 #BE87F0 #DBBDF7 #F0E4FC

Accessibility & contrast

On white

2.65
#BE87F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#BE87F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BE87F0
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE87F0#FFFFFF#000000##000000
##BE87F01.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9DF4
Deuteranopia (green-blind)
#7B9FED
Tritanopia (blue-blind)
#B798B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #be87f0;
/* rgb */ color: rgb(190, 135, 240);
/* oklch */ color: oklch(71.8% 0.157 307.0);
Tailwind
colors: {
  custom: {
    50: '#d3abf5',
    500: '#be87f0',
    950: '#000000',
  },
}
SCSS
$custom: #be87f0;
$custom-light: #d3abf5;
$custom-dark: #000000;
JSON
{
  "hex": "#be87f0",
  "rgb": {
    "r": 190,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 271.429,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71834,
    "c": 0.15706,
    "h": 307
  },
  "luminance": 0.34566
}

Semantic roles & 50–950 ramp

primary
#BE87F0
secondary
#E5F3D8
accent
#DA0B6E
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#141017
muted
#837F85

Preview Lab

Preview with #BE87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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