#BE87E2#BE87E2

#BE87E2 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.2% C 0.140 H 311.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#BE87E2
RGBrgb(190, 135, 226)
HSLhsl(276, 61%, 71%)
HSVhsv(276, 40%, 89%)
CMYKcmyk(15.9%, 40.3%, 0%, 11.4%)
CIE-LABlab(64.78, 37.51, -38.26)
CIE-LCHlch(64.78, 53.58, 314.43°)
OKLaboklab(71.15% 0.0921 -0.1059)
OKLCHoklch(71.15% 0.14 311)
XYZxyz(43.6242, 33.7668, 76.1563)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE87E2 #ABE287
analogous
#9087E2 #BE87E2 #E287D8
triadic
#BE87E2 #E2BE87 #87E2BE
tetradic
#BE87E2 #E29087 #ABE287 #87D8E2
square
#BE87E2 #E29087 #ABE287 #87D8E2
split-complementary
#BE87E2 #D8E287 #87E290
monochromatic
#872EC0 #A356D6 #BE87E2 #D9B8EE #F2E6F9

Accessibility & contrast

On white

2.71
#BE87E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#BE87E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BE87E2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE87E2#FFFFFF#000000##000000
##BE87E21.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#759AE5
Deuteranopia (green-blind)
#829EDF
Tritanopia (blue-blind)
#BA94AA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #be87e2;
/* rgb */ color: rgb(190, 135, 226);
/* oklch */ color: oklch(71.2% 0.140 311.0);
Tailwind
colors: {
  custom: {
    50: '#d3abeb',
    500: '#be87e2',
    950: '#000000',
  },
}
SCSS
$custom: #be87e2;
$custom-light: #d3abeb;
$custom-dark: #000000;
JSON
{
  "hex": "#be87e2",
  "rgb": {
    "r": 190,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 276.264,
    "s": 61.074,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7115,
    "c": 0.14039,
    "h": 311
  },
  "luminance": 0.33766
}

Semantic roles & 50–950 ramp

primary
#BE87E2
secondary
#E0EFD6
accent
#C91D61
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BE87E2

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

Preview Lab → · Contrast checker → · Palette generator →

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