#BE87FE#BE87FE

#BE87FE is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.6% C 0.174 H 303.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#BE87FE
RGBrgb(190, 135, 254)
HSLhsl(268, 98%, 76%)
HSVhsv(268, 47%, 100%)
CMYKcmyk(25.2%, 46.9%, 0%, 0.4%)
CIE-LABlab(66.08, 43.77, -51.62)
CIE-LCHlch(66.08, 67.68, 310.29°)
OKLaboklab(72.56% 0.0965 -0.1446)
OKLCHoklch(72.56% 0.174 303.7)
XYZxyz(47.7847, 35.4310, 98.0682)
Luminance0.3543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE87FE #C7FE87
analogous
#878CFE #BE87FE #F987FE
triadic
#BE87FE #FEBE87 #87FEBE
tetradic
#BE87FE #FE878C #C7FE87 #87FEF9
square
#BE87FE #FE878C #C7FE87 #87FEF9
split-complementary
#BE87FE #FEF987 #8CFE87
monochromatic
#7C0EFD #9D4AFD #BE87FE #DFC4FF #EFE1FF

Accessibility & contrast

On white

2.60
#BE87FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#BE87FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BE87FE
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE87FE#FFFFFF#000000##000000
##BE87FE1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#73A1FB
Tritanopia (blue-blind)
#B39CB7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #be87fe;
/* rgb */ color: rgb(190, 135, 254);
/* oklch */ color: oklch(72.6% 0.174 303.7);
Tailwind
colors: {
  custom: {
    50: '#d4abff',
    500: '#be87fe',
    950: '#000000',
  },
}
SCSS
$custom: #be87fe;
$custom-light: #d4abff;
$custom-dark: #000000;
JSON
{
  "hex": "#be87fe",
  "rgb": {
    "r": 190,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 267.731,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72557,
    "c": 0.17388,
    "h": 303.7
  },
  "luminance": 0.35431
}

Semantic roles & 50–950 ramp

primary
#BE87FE
secondary
#E7F7D4
accent
#E6007B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BE87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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