#BE87F6#BE87F6

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

Color values

HEX#BE87F6
RGBrgb(190, 135, 246)
HSLhsl(270, 86%, 75%)
HSVhsv(270, 45%, 96%)
CMYKcmyk(22.8%, 45.1%, 0%, 3.5%)
CIE-LABlab(65.69, 41.94, -47.86)
CIE-LCHlch(65.69, 63.63, 311.23°)
OKLaboklab(72.14% 0.0955 -0.1337)
OKLCHoklch(72.14% 0.164 305.5)
XYZxyz(46.5303, 34.9292, 91.4616)
Luminance0.3493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE87F6 #BFF687
analogous
#8787F6 #BE87F6 #F687F6
triadic
#BE87F6 #F6BE87 #87F6BE
tetradic
#BE87F6 #F68787 #BFF687 #87F6F6
square
#BE87F6 #F68787 #BFF687 #87F6F6
split-complementary
#BE87F6 #F6F687 #87F687
monochromatic
#8015ED #9F4EF2 #BE87F6 #DDC0FA #F0E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BE87F6#FFFFFF#000000##000000
##BE87F61.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)
#6A9EFA
Deuteranopia (green-blind)
#78A0F3
Tritanopia (blue-blind)
#B59AB3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #be87f6;
/* rgb */ color: rgb(190, 135, 246);
/* oklch */ color: oklch(72.1% 0.164 305.5);
Tailwind
colors: {
  custom: {
    50: '#d4abf9',
    500: '#be87f6',
    950: '#000000',
  },
}
SCSS
$custom: #be87f6;
$custom-light: #d4abf9;
$custom-dark: #000000;
JSON
{
  "hex": "#be87f6",
  "rgb": {
    "r": 190,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 269.73,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72139,
    "c": 0.16426,
    "h": 305.5
  },
  "luminance": 0.34929
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BE87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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