#B87FF7#B87FF7

#B87FF7 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.3% C 0.176 H 304.2°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#B87FF7
RGBrgb(184, 127, 247)
HSLhsl(269, 88%, 73%)
HSVhsv(269, 49%, 97%)
CMYKcmyk(25.5%, 48.6%, 0%, 3.1%)
CIE-LABlab(63.41, 44.91, -52.05)
CIE-LCHlch(63.41, 68.75, 310.79°)
OKLaboklab(70.31% 0.0991 -0.146)
OKLCHoklch(70.31% 0.176 304.2)
XYZxyz(44.1414, 32.0846, 91.8451)
Luminance0.3208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FF7 #BEF77F
analogous
#7F82F7 #B87FF7 #F47FF7
triadic
#B87FF7 #F7B87F #7FF7B8
tetradic
#B87FF7 #F77F82 #BEF77F #7FF7F4
square
#B87FF7 #F77F82 #BEF77F #7FF7F4
split-complementary
#B87FF7 #F7F47F #82F77F
monochromatic
#780FED #9845F3 #B87FF7 #D8B9FB #EFE2FD

Accessibility & contrast

On white

2.83
#B87FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#B87FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87FF7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FF7#FFFFFF#000000##000000
##B87FF71.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FB
Deuteranopia (green-blind)
#6B9AF4
Tritanopia (blue-blind)
#AD94B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b87ff7;
/* rgb */ color: rgb(184, 127, 247);
/* oklch */ color: oklch(70.3% 0.176 304.2);
Tailwind
colors: {
  custom: {
    50: '#d0a5fa',
    500: '#b87ff7',
    950: '#000000',
  },
}
SCSS
$custom: #b87ff7;
$custom-light: #d0a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b87ff7",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 268.5,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70312,
    "c": 0.17647,
    "h": 304.2
  },
  "luminance": 0.32084
}

Semantic roles & 50–950 ramp

primary
#B87FF7
secondary
#E6F5D6
accent
#E50178
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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