#BE87FC#BE87FC

#BE87FC is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.5% C 0.171 H 304.2°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#BE87FC
RGBrgb(190, 135, 252)
HSLhsl(268, 95%, 76%)
HSVhsv(268, 46%, 99%)
CMYKcmyk(24.6%, 46.4%, 0%, 1.2%)
CIE-LABlab(65.98, 43.31, -50.69)
CIE-LCHlch(65.98, 66.67, 310.51°)
OKLaboklab(72.45% 0.0963 -0.1419)
OKLCHoklch(72.45% 0.171 304.2)
XYZxyz(47.4661, 35.3035, 96.3902)
Luminance0.3530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE87FC #C5FC87
analogous
#878AFC #BE87FC #F887FC
triadic
#BE87FC #FCBE87 #87FCBE
tetradic
#BE87FC #FC878A #C5FC87 #87FCF8
square
#BE87FC #FC878A #C5FC87 #87FCF8
split-complementary
#BE87FC #FCF887 #8AFC87
monochromatic
#7D10F9 #9E4BFB #BE87FC #DEC3FD #EFE1FE

Accessibility & contrast

On white

2.61
#BE87FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#BE87FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BE87FC
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE87FC#FFFFFF#000000##000000
##BE87FC1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#74A0F9
Tritanopia (blue-blind)
#B49BB6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #be87fc;
/* rgb */ color: rgb(190, 135, 252);
/* oklch */ color: oklch(72.5% 0.171 304.2);
Tailwind
colors: {
  custom: {
    50: '#d4abfe',
    500: '#be87fc',
    950: '#000000',
  },
}
SCSS
$custom: #be87fc;
$custom-light: #d4abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#be87fc",
  "rgb": {
    "r": 190,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 268.205,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72451,
    "c": 0.17147,
    "h": 304.2
  },
  "luminance": 0.35303
}

Semantic roles & 50–950 ramp

primary
#BE87FC
secondary
#E7F6D5
accent
#E6007A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BE87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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