#BE87F9#BE87F9

#BE87F9 is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.3% C 0.168 H 304.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#BE87F9
RGBrgb(190, 135, 249)
HSLhsl(269, 90%, 75%)
HSVhsv(269, 46%, 98%)
CMYKcmyk(23.7%, 45.8%, 0%, 2.4%)
CIE-LABlab(65.84, 42.62, -49.27)
CIE-LCHlch(65.84, 65.15, 310.86°)
OKLaboklab(72.29% 0.0959 -0.1378)
OKLCHoklch(72.29% 0.168 304.8)
XYZxyz(46.9945, 35.1149, 93.9063)
Luminance0.3512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE87F9 #C2F987
analogous
#8789F9 #BE87F9 #F787F9
triadic
#BE87F9 #F9BE87 #87F9BE
tetradic
#BE87F9 #F98789 #C2F987 #87F9F7
square
#BE87F9 #F98789 #C2F987 #87F9F7
split-complementary
#BE87F9 #F9F787 #89F987
monochromatic
#7F12F3 #9E4DF6 #BE87F9 #DEC1FC #EFE2FE

Accessibility & contrast

On white

2.62
#BE87F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#BE87F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BE87F9
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE87F9#FFFFFF#000000##000000
##BE87F91.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFD
Deuteranopia (green-blind)
#76A0F6
Tritanopia (blue-blind)
#B49AB4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #be87f9;
/* rgb */ color: rgb(190, 135, 249);
/* oklch */ color: oklch(72.3% 0.168 304.8);
Tailwind
colors: {
  custom: {
    50: '#d4abfc',
    500: '#be87f9',
    950: '#000000',
  },
}
SCSS
$custom: #be87f9;
$custom-light: #d4abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#be87f9",
  "rgb": {
    "r": 190,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 268.947,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72294,
    "c": 0.16787,
    "h": 304.8
  },
  "luminance": 0.35115
}

Semantic roles & 50–950 ramp

primary
#BE87F9
secondary
#E6F6D5
accent
#E60077
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BE87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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