#BE87F8#BE87F8

#BE87F8 is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.2% C 0.167 H 305.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#BE87F8
RGBrgb(190, 135, 248)
HSLhsl(269, 89%, 75%)
HSVhsv(269, 46%, 97%)
CMYKcmyk(23.4%, 45.6%, 0%, 2.7%)
CIE-LABlab(65.79, 42.39, -48.80)
CIE-LCHlch(65.79, 64.64, 310.98°)
OKLaboklab(72.24% 0.0957 -0.1364)
OKLCHoklch(72.24% 0.167 305.1)
XYZxyz(46.8389, 35.0527, 93.0870)
Luminance0.3505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE87F8 #C1F887
analogous
#8788F8 #BE87F8 #F787F8
triadic
#BE87F8 #F8BE87 #87F8BE
tetradic
#BE87F8 #F88788 #C1F887 #87F8F7
square
#BE87F8 #F88788 #C1F887 #87F8F7
split-complementary
#BE87F8 #F8F787 #88F887
monochromatic
#7F13F1 #9F4DF5 #BE87F8 #DDC1FB #EFE2FD

Accessibility & contrast

On white

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

On black

8.01
#BE87F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BE87F8
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE87F8#FFFFFF#000000##000000
##BE87F81.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFC
Deuteranopia (green-blind)
#77A0F5
Tritanopia (blue-blind)
#B59AB4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #be87f8;
/* rgb */ color: rgb(190, 135, 248);
/* oklch */ color: oklch(72.2% 0.167 305.1);
Tailwind
colors: {
  custom: {
    50: '#d4abfb',
    500: '#be87f8',
    950: '#000000',
  },
}
SCSS
$custom: #be87f8;
$custom-light: #d4abfb;
$custom-dark: #000000;
JSON
{
  "hex": "#be87f8",
  "rgb": {
    "r": 190,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 269.204,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72242,
    "c": 0.16667,
    "h": 305.1
  },
  "luminance": 0.35052
}

Semantic roles & 50–950 ramp

primary
#BE87F8
secondary
#E6F5D6
accent
#E60076
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BE87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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