#BE87F3#BE87F3

#BE87F3 is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.0% C 0.161 H 306.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#BE87F3
RGBrgb(190, 135, 243)
HSLhsl(271, 82%, 74%)
HSVhsv(271, 44%, 95%)
CMYKcmyk(21.8%, 44.4%, 0%, 4.7%)
CIE-LABlab(65.55, 41.26, -46.43)
CIE-LCHlch(65.55, 62.12, 311.62°)
OKLaboklab(71.99% 0.095 -0.1295)
OKLCHoklch(71.99% 0.161 306.3)
XYZxyz(46.0736, 34.7465, 89.0562)
Luminance0.3475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE87F3 #BCF387
analogous
#8887F3 #BE87F3 #F387F2
triadic
#BE87F3 #F3BE87 #87F3BE
tetradic
#BE87F3 #F38887 #BCF387 #87F2F3
square
#BE87F3 #F38887 #BCF387 #87F2F3
split-complementary
#BE87F3 #F2F387 #87F388
monochromatic
#8218E8 #A04FED #BE87F3 #DCBFF9 #F0E3FC

Accessibility & contrast

On white

2.64
#BE87F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#BE87F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BE87F3
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE87F3#FFFFFF#000000##000000
##BE87F31.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF7
Deuteranopia (green-blind)
#7AA0F0
Tritanopia (blue-blind)
#B699B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #be87f3;
/* rgb */ color: rgb(190, 135, 243);
/* oklch */ color: oklch(72.0% 0.161 306.3);
Tailwind
colors: {
  custom: {
    50: '#d3abf7',
    500: '#be87f3',
    950: '#000000',
  },
}
SCSS
$custom: #be87f3;
$custom-light: #d3abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#be87f3",
  "rgb": {
    "r": 190,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 270.556,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71985,
    "c": 0.16067,
    "h": 306.3
  },
  "luminance": 0.34746
}

Semantic roles & 50–950 ramp

primary
#BE87F3
secondary
#E5F4D7
accent
#DE0771
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BE87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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