#BE87F5#BE87F5

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

Color values

HEX#BE87F5
RGBrgb(190, 135, 245)
HSLhsl(270, 85%, 75%)
HSVhsv(270, 45%, 96%)
CMYKcmyk(22.4%, 44.9%, 0%, 3.9%)
CIE-LABlab(65.65, 41.71, -47.38)
CIE-LCHlch(65.65, 63.13, 311.36°)
OKLaboklab(72.09% 0.0953 -0.1323)
OKLCHoklch(72.09% 0.163 305.8)
XYZxyz(46.3772, 34.8680, 90.6555)
Luminance0.3487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE87F5 #BEF587
analogous
#8787F5 #BE87F5 #F587F5
triadic
#BE87F5 #F5BE87 #87F5BE
tetradic
#BE87F5 #F58787 #BEF587 #87F5F5
square
#BE87F5 #F58787 #BEF587 #87F5F5
split-complementary
#BE87F5 #F5F587 #87F587
monochromatic
#8116EC #9F4FF0 #BE87F5 #DDBFFA #F0E3FD

Accessibility & contrast

On white

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

On black

7.97
#BE87F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BE87F5
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE87F5#FFFFFF#000000##000000
##BE87F51.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9EF9
Deuteranopia (green-blind)
#78A0F2
Tritanopia (blue-blind)
#B599B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #be87f5;
/* rgb */ color: rgb(190, 135, 245);
/* oklch */ color: oklch(72.1% 0.163 305.8);
Tailwind
colors: {
  custom: {
    50: '#d4abf9',
    500: '#be87f5',
    950: '#000000',
  },
}
SCSS
$custom: #be87f5;
$custom-light: #d4abf9;
$custom-dark: #000000;
JSON
{
  "hex": "#be87f5",
  "rgb": {
    "r": 190,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 270,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72087,
    "c": 0.16306,
    "h": 305.8
  },
  "luminance": 0.34868
}

Semantic roles & 50–950 ramp

primary
#BE87F5
secondary
#E6F5D6
accent
#E10473
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BE87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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