#BE87E8#BE87E8

#BE87E8 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.4% C 0.148 H 309.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#BE87E8
RGBrgb(190, 135, 232)
HSLhsl(274, 68%, 72%)
HSVhsv(274, 42%, 91%)
CMYKcmyk(18.1%, 41.8%, 0%, 9%)
CIE-LABlab(65.04, 38.81, -41.17)
CIE-LCHlch(65.04, 56.58, 313.31°)
OKLaboklab(71.44% 0.0932 -0.1143)
OKLCHoklch(71.44% 0.148 309.2)
XYZxyz(44.4619, 34.1019, 80.5683)
Luminance0.3410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE87E8 #B1E887
analogous
#8E87E8 #BE87E8 #E887E1
triadic
#BE87E8 #E8BE87 #87E8BE
tetradic
#BE87E8 #E88E87 #B1E887 #87E1E8
square
#BE87E8 #E88E87 #B1E887 #87E1E8
split-complementary
#BE87E8 #E1E887 #87E88E
monochromatic
#8527CD #A254DE #BE87E8 #DABAF2 #F1E5FA

Accessibility & contrast

On white

2.69
#BE87E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#BE87E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BE87E8
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE87E8#FFFFFF#000000##000000
##BE87E81.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#729BEC
Deuteranopia (green-blind)
#7F9FE5
Tritanopia (blue-blind)
#B996AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #be87e8;
/* rgb */ color: rgb(190, 135, 232);
/* oklch */ color: oklch(71.4% 0.148 309.2);
Tailwind
colors: {
  custom: {
    50: '#d3abef',
    500: '#be87e8',
    950: '#000000',
  },
}
SCSS
$custom: #be87e8;
$custom-light: #d3abef;
$custom-dark: #000000;
JSON
{
  "hex": "#be87e8",
  "rgb": {
    "r": 190,
    "g": 135,
    "b": 232
  },
  "hsl": {
    "h": 274.021,
    "s": 67.832,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71438,
    "c": 0.14751,
    "h": 309.2
  },
  "luminance": 0.34101
}

Semantic roles & 50–950 ramp

primary
#BE87E8
secondary
#E4F2D9
accent
#D01666
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BE87E8

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

Preview Lab → · Contrast checker → · Palette generator →

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