#B871EB#B871EB

#B871EB is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.5% C 0.184 H 309.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B871EB
RGBrgb(184, 113, 235)
HSLhsl(275, 75%, 68%)
HSVhsv(275, 52%, 92%)
CMYKcmyk(21.7%, 51.9%, 0%, 7.8%)
CIE-LABlab(59.89, 49.65, -51.00)
CIE-LCHlch(59.89, 71.18, 314.23°)
OKLaboklab(67.5% 0.1164 -0.1429)
OKLCHoklch(67.5% 0.184 309.2)
XYZxyz(40.6648, 27.9994, 81.8434)
Luminance0.2800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B871EB #A4EB71
analogous
#7B71EB #B871EB #EB71E1
triadic
#B871EB #EBB871 #71EBB8
tetradic
#B871EB #EB7B71 #A4EB71 #71E1EB
square
#B871EB #EB7B71 #A4EB71 #71E1EB
split-complementary
#B871EB #E1EB71 #71EB7B
monochromatic
#7F1CC6 #9D3BE3 #B871EB #D3A7F3 #EEDCFA

Accessibility & contrast

On white

3.18
#B871EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#B871EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B871EB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B871EB#FFFFFF#000000##000000
##B871EB1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#6591E8
Tritanopia (blue-blind)
#B186A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b871eb;
/* rgb */ color: rgb(184, 113, 235);
/* oklch */ color: oklch(67.5% 0.184 309.2);
Tailwind
colors: {
  custom: {
    50: '#d09cf2',
    500: '#b871eb',
    950: '#000000',
  },
}
SCSS
$custom: #b871eb;
$custom-light: #d09cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b871eb",
  "rgb": {
    "r": 184,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 274.918,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67497,
    "c": 0.18433,
    "h": 309.2
  },
  "luminance": 0.27999
}

Semantic roles & 50–950 ramp

primary
#B871EB
secondary
#D9EEC9
accent
#D70E62
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B871EB

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

Preview Lab → · Contrast checker → · Palette generator →

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