#BE87EA#BE87EA

#BE87EA is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.5% C 0.150 H 308.6°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#BE87EA
RGBrgb(190, 135, 234)
HSLhsl(273, 70%, 72%)
HSVhsv(273, 42%, 92%)
CMYKcmyk(18.8%, 42.3%, 0%, 8.2%)
CIE-LABlab(65.13, 39.25, -42.13)
CIE-LCHlch(65.13, 57.58, 312.98°)
OKLaboklab(71.54% 0.0936 -0.1171)
OKLCHoklch(71.54% 0.15 308.6)
XYZxyz(44.7476, 34.2161, 82.0730)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE87EA #B3EA87
analogous
#8C87EA #BE87EA #EA87E5
triadic
#BE87EA #EABE87 #87EABE
tetradic
#BE87EA #EA8C87 #B3EA87 #87E5EA
square
#BE87EA #EA8C87 #B3EA87 #87E5EA
split-complementary
#BE87EA #E5EA87 #87EA8C
monochromatic
#8525D2 #A253E1 #BE87EA #DABBF3 #F1E5FA

Accessibility & contrast

On white

2.68
#BE87EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#BE87EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BE87EA
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE87EA#FFFFFF#000000##000000
##BE87EA1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEE
Deuteranopia (green-blind)
#7E9FE7
Tritanopia (blue-blind)
#B896AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #be87ea;
/* rgb */ color: rgb(190, 135, 234);
/* oklch */ color: oklch(71.5% 0.150 308.6);
Tailwind
colors: {
  custom: {
    50: '#d3abf1',
    500: '#be87ea',
    950: '#000000',
  },
}
SCSS
$custom: #be87ea;
$custom-light: #d3abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#be87ea",
  "rgb": {
    "r": 190,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 273.333,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71536,
    "c": 0.14989,
    "h": 308.6
  },
  "luminance": 0.34216
}

Semantic roles & 50–950 ramp

primary
#BE87EA
secondary
#E4F2D9
accent
#D21368
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BE87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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