#B87EFA#B87EFA

#B87EFA is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.3% C 0.182 H 303.7°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#B87EFA
RGBrgb(184, 126, 250)
HSLhsl(268, 93%, 74%)
HSVhsv(268, 50%, 98%)
CMYKcmyk(26.4%, 49.6%, 0%, 2%)
CIE-LABlab(63.35, 46.14, -53.79)
CIE-LCHlch(63.35, 70.87, 310.62°)
OKLaboklab(70.32% 0.1007 -0.1511)
OKLCHoklch(70.32% 0.182 303.7)
XYZxyz(44.4796, 32.0143, 94.2600)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87EFA #C0FA7E
analogous
#7E82FA #B87EFA #F67EFA
triadic
#B87EFA #FAB87E #7EFAB8
tetradic
#B87EFA #FA7E82 #C0FA7E #7EFAF6
square
#B87EFA #FA7E82 #C0FA7E #7EFAF6
split-complementary
#B87EFA #FAF67E #82FA7E
monochromatic
#7709F4 #9843F8 #B87EFA #D8B9FC #EFE2FE

Accessibility & contrast

On white

2.84
#B87EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#B87EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87EFA
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87EFA#FFFFFF#000000##000000
##B87EFA1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FE
Deuteranopia (green-blind)
#6899F7
Tritanopia (blue-blind)
#AC94B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b87efa;
/* rgb */ color: rgb(184, 126, 250);
/* oklch */ color: oklch(70.3% 0.182 303.7);
Tailwind
colors: {
  custom: {
    50: '#d0a5fc',
    500: '#b87efa',
    950: '#000000',
  },
}
SCSS
$custom: #b87efa;
$custom-light: #d0a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b87efa",
  "rgb": {
    "r": 184,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 268.065,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70319,
    "c": 0.18158,
    "h": 303.7
  },
  "luminance": 0.32014
}

Semantic roles & 50–950 ramp

primary
#B87EFA
secondary
#E7F6D5
accent
#E6007A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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