#BE87F2#BE87F2

#BE87F2 is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.9% C 0.159 H 306.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#BE87F2
RGBrgb(190, 135, 242)
HSLhsl(271, 80%, 74%)
HSVhsv(271, 44%, 95%)
CMYKcmyk(21.5%, 44.2%, 0%, 5.1%)
CIE-LABlab(65.50, 41.04, -45.96)
CIE-LCHlch(65.50, 61.61, 311.76°)
OKLaboklab(71.93% 0.0949 -0.1282)
OKLCHoklch(71.93% 0.159 306.5)
XYZxyz(45.9230, 34.6863, 88.2630)
Luminance0.3469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE87F2 #BBF287
analogous
#8987F2 #BE87F2 #F287F1
triadic
#BE87F2 #F2BE87 #87F2BE
tetradic
#BE87F2 #F28987 #BBF287 #87F1F2
square
#BE87F2 #F28987 #BBF287 #87F1F2
split-complementary
#BE87F2 #F1F287 #87F289
monochromatic
#8219E6 #A050EC #BE87F2 #DCBEF8 #F0E3FC

Accessibility & contrast

On white

2.65
#BE87F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#BE87F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BE87F2
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE87F2#FFFFFF#000000##000000
##BE87F21.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#7AA0EF
Tritanopia (blue-blind)
#B698B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #be87f2;
/* rgb */ color: rgb(190, 135, 242);
/* oklch */ color: oklch(71.9% 0.159 306.5);
Tailwind
colors: {
  custom: {
    50: '#d3abf7',
    500: '#be87f2',
    950: '#000000',
  },
}
SCSS
$custom: #be87f2;
$custom-light: #d3abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#be87f2",
  "rgb": {
    "r": 190,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 270.841,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71934,
    "c": 0.15947,
    "h": 306.5
  },
  "luminance": 0.34686
}

Semantic roles & 50–950 ramp

primary
#BE87F2
secondary
#E5F4D7
accent
#DD0970
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#141017
muted
#837F85

Preview Lab

Preview with #BE87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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