#B87FF2#B87FF2

#B87FF2 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.0% C 0.171 H 305.3°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#B87FF2
RGBrgb(184, 127, 242)
HSLhsl(270, 82%, 72%)
HSVhsv(270, 48%, 95%)
CMYKcmyk(24%, 47.5%, 0%, 5.1%)
CIE-LABlab(63.16, 43.75, -49.70)
CIE-LCHlch(63.16, 66.21, 311.36°)
OKLaboklab(70.04% 0.0986 -0.1391)
OKLCHoklch(70.04% 0.171 305.3)
XYZxyz(43.3802, 31.7802, 87.8360)
Luminance0.3178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FF2 #B9F27F
analogous
#7F80F2 #B87FF2 #F17FF2
triadic
#B87FF2 #F2B87F #7FF2B8
tetradic
#B87FF2 #F27F80 #B9F27F #7FF2F1
square
#B87FF2 #F27F80 #B9F27F #7FF2F1
split-complementary
#B87FF2 #F2F17F #80F27F
monochromatic
#7A17E0 #9947EC #B87FF2 #D7B7F8 #F0E3FC

Accessibility & contrast

On white

2.85
#B87FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#B87FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87FF2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FF2#FFFFFF#000000##000000
##B87FF21.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F97F6
Deuteranopia (green-blind)
#6E99EF
Tritanopia (blue-blind)
#AF93AD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b87ff2;
/* rgb */ color: rgb(184, 127, 242);
/* oklch */ color: oklch(70.0% 0.171 305.3);
Tailwind
colors: {
  custom: {
    50: '#d0a5f7',
    500: '#b87ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b87ff2;
$custom-light: #d0a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b87ff2",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 269.739,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70043,
    "c": 0.17052,
    "h": 305.3
  },
  "luminance": 0.3178
}

Semantic roles & 50–950 ramp

primary
#B87FF2
secondary
#E6F4D7
accent
#DE0874
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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