#B87EED#B87EED

#B87EED is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.6% C 0.166 H 306.7°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#B87EED
RGBrgb(184, 126, 237)
HSLhsl(271, 76%, 71%)
HSVhsv(271, 47%, 93%)
CMYKcmyk(22.4%, 46.8%, 0%, 7.1%)
CIE-LABlab(62.70, 43.16, -47.66)
CIE-LCHlch(62.70, 64.30, 312.16°)
OKLaboklab(69.62% 0.0993 -0.1332)
OKLCHoklch(69.62% 0.166 306.7)
XYZxyz(42.5110, 31.2269, 83.8922)
Luminance0.3123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87EED #B3ED7E
analogous
#807EED #B87EED #ED7EEB
triadic
#B87EED #EDB87E #7EEDB8
tetradic
#B87EED #ED807E #B3ED7E #7EEBED
square
#B87EED #ED807E #B3ED7E #7EEBED
split-complementary
#B87EED #EBED7E #7EED80
monochromatic
#7C1DD3 #9A48E6 #B87EED #D6B4F4 #F0E4FB

Accessibility & contrast

On white

2.90
#B87EED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#B87EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87EED
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87EED#FFFFFF#000000##000000
##B87EED1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F1
Deuteranopia (green-blind)
#7098EA
Tritanopia (blue-blind)
#B091AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b87eed;
/* rgb */ color: rgb(184, 126, 237);
/* oklch */ color: oklch(69.6% 0.166 306.7);
Tailwind
colors: {
  custom: {
    50: '#cfa5f3',
    500: '#b87eed',
    950: '#000000',
  },
}
SCSS
$custom: #b87eed;
$custom-light: #cfa5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b87eed",
  "rgb": {
    "r": 184,
    "g": 126,
    "b": 237
  },
  "hsl": {
    "h": 271.351,
    "s": 75.51,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69617,
    "c": 0.16616,
    "h": 306.7
  },
  "luminance": 0.31226
}

Semantic roles & 50–950 ramp

primary
#B87EED
secondary
#E3F2D5
accent
#D80E6E
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B87EED

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

Preview Lab → · Contrast checker → · Palette generator →

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