#BB71EC#BB71EC

#BB71EC is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.9% C 0.186 H 310.1°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#BB71EC
RGBrgb(187, 113, 236)
HSLhsl(276, 76%, 68%)
HSVhsv(276, 52%, 93%)
CMYKcmyk(20.8%, 52.1%, 0%, 7.5%)
CIE-LABlab(60.28, 50.65, -50.92)
CIE-LCHlch(60.28, 71.82, 314.85°)
OKLaboklab(67.88% 0.1201 -0.1426)
OKLCHoklch(67.88% 0.186 310.1)
XYZxyz(41.5361, 28.4319, 82.6404)
Luminance0.2843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71EC #A2EC71
analogous
#7D71EC #BB71EC #EC71DF
triadic
#BB71EC #ECBB71 #71ECBB
tetradic
#BB71EC #EC7D71 #A2EC71 #71DFEC
square
#BB71EC #EC7D71 #A2EC71 #71DFEC
split-complementary
#BB71EC #DFEC71 #71EC7D
monochromatic
#831BC8 #A13BE5 #BB71EC #D5A7F3 #EFDDFA

Accessibility & contrast

On white

3.14
#BB71EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#BB71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71EC
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71EC#FFFFFF#000000##000000
##BB71EC1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF0
Deuteranopia (green-blind)
#6693E9
Tritanopia (blue-blind)
#B586A4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #bb71ec;
/* rgb */ color: rgb(187, 113, 236);
/* oklch */ color: oklch(67.9% 0.186 310.1);
Tailwind
colors: {
  custom: {
    50: '#d29cf3',
    500: '#bb71ec',
    950: '#000000',
  },
}
SCSS
$custom: #bb71ec;
$custom-light: #d29cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71ec",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 276.098,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67875,
    "c": 0.18645,
    "h": 310.1
  },
  "luminance": 0.28431
}

Semantic roles & 50–950 ramp

primary
#BB71EC
secondary
#D9EFCA
accent
#D90D5E
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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