#B87BF2#B87BF2

#B87BF2 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.4% C 0.177 H 306.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#B87BF2
RGBrgb(184, 123, 242)
HSLhsl(271, 82%, 72%)
HSVhsv(271, 49%, 95%)
CMYKcmyk(24%, 49.2%, 0%, 5.1%)
CIE-LABlab(62.31, 45.91, -51.04)
CIE-LCHlch(62.31, 68.65, 311.97°)
OKLaboklab(69.41% 0.1039 -0.1431)
OKLCHoklch(69.41% 0.177 306)
XYZxyz(42.8738, 30.7674, 87.6672)
Luminance0.3077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BF2 #B5F27B
analogous
#7D7BF2 #B87BF2 #F27BF1
triadic
#B87BF2 #F2B87B #7BF2B8
tetradic
#B87BF2 #F27D7B #B5F27B #7BF1F2
square
#B87BF2 #F27D7B #B5F27B #7BF1F2
split-complementary
#B87BF2 #F1F27B #7BF27D
monochromatic
#7C16DD #9A43ED #B87BF2 #D6B3F7 #F0E3FC

Accessibility & contrast

On white

2.94
#B87BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#B87BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87BF2
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BF2#FFFFFF#000000##000000
##B87BF21.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#6A97EF
Tritanopia (blue-blind)
#AF90AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b87bf2;
/* rgb */ color: rgb(184, 123, 242);
/* oklch */ color: oklch(69.4% 0.177 306.0);
Tailwind
colors: {
  custom: {
    50: '#d0a3f7',
    500: '#b87bf2',
    950: '#000000',
  },
}
SCSS
$custom: #b87bf2;
$custom-light: #d0a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bf2",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 270.756,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6941,
    "c": 0.17679,
    "h": 306
  },
  "luminance": 0.30767
}

Semantic roles & 50–950 ramp

primary
#B87BF2
secondary
#E4F4D5
accent
#DE0770
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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