#BB71EB#BB71EB

#BB71EB is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.8% C 0.185 H 310.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#BB71EB
RGBrgb(187, 113, 235)
HSLhsl(276, 75%, 68%)
HSVhsv(276, 52%, 92%)
CMYKcmyk(20.4%, 51.9%, 0%, 7.8%)
CIE-LABlab(60.23, 50.43, -50.45)
CIE-LCHlch(60.23, 71.33, 314.99°)
OKLaboklab(67.82% 0.1201 -0.1412)
OKLCHoklch(67.82% 0.185 310.4)
XYZxyz(41.3913, 28.3740, 81.8774)
Luminance0.2837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71EB #A1EB71
analogous
#7E71EB #BB71EB #EB71DE
triadic
#BB71EB #EBBB71 #71EBBB
tetradic
#BB71EB #EB7E71 #A1EB71 #71DEEB
square
#BB71EB #EB7E71 #A1EB71 #71DEEB
split-complementary
#BB71EB #DEEB71 #71EB7E
monochromatic
#831CC6 #A13BE3 #BB71EB #D5A7F3 #EEDCFA

Accessibility & contrast

On white

3.15
#BB71EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#BB71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71EB
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71EB#FFFFFF#000000##000000
##BB71EB1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EEF
Deuteranopia (green-blind)
#6793E8
Tritanopia (blue-blind)
#B586A4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #bb71eb;
/* rgb */ color: rgb(187, 113, 235);
/* oklch */ color: oklch(67.8% 0.185 310.4);
Tailwind
colors: {
  custom: {
    50: '#d29cf2',
    500: '#bb71eb',
    950: '#000000',
  },
}
SCSS
$custom: #bb71eb;
$custom-light: #d29cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71eb",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 276.393,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6782,
    "c": 0.18534,
    "h": 310.4
  },
  "luminance": 0.28373
}

Semantic roles & 50–950 ramp

primary
#BB71EB
secondary
#D8EEC9
accent
#D70E5D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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