#BB71EE#BB71EE

#BB71EE is a light, vivid violet. Relative luminance 0.285; OKLCH L 68.0% C 0.189 H 309.6°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#BB71EE
RGBrgb(187, 113, 238)
HSLhsl(276, 79%, 69%)
HSVhsv(276, 53%, 93%)
CMYKcmyk(21.4%, 52.5%, 0%, 6.7%)
CIE-LABlab(60.38, 51.09, -51.87)
CIE-LCHlch(60.38, 72.80, 314.57°)
OKLaboklab(67.99% 0.1203 -0.1453)
OKLCHoklch(67.99% 0.189 309.6)
XYZxyz(41.8283, 28.5488, 84.1793)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71EE #A4EE71
analogous
#7D71EE #BB71EE #EE71E3
triadic
#BB71EE #EEBB71 #71EEBB
tetradic
#BB71EE #EE7D71 #A4EE71 #71E3EE
square
#BB71EE #EE7D71 #A4EE71 #71E3EE
split-complementary
#BB71EE #E3EE71 #71EE7D
monochromatic
#8318CC #A13AE7 #BB71EE #D5A8F5 #EFDEFB

Accessibility & contrast

On white

3.13
#BB71EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#BB71EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71EE
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71EE#FFFFFF#000000##000000
##BB71EE1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8EF2
Deuteranopia (green-blind)
#6593EB
Tritanopia (blue-blind)
#B487A5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb71ee;
/* rgb */ color: rgb(187, 113, 238);
/* oklch */ color: oklch(68.0% 0.189 309.6);
Tailwind
colors: {
  custom: {
    50: '#d29cf4',
    500: '#bb71ee',
    950: '#000000',
  },
}
SCSS
$custom: #bb71ee;
$custom-light: #d29cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71ee",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 275.52,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67986,
    "c": 0.18866,
    "h": 309.6
  },
  "luminance": 0.28548
}

Semantic roles & 50–950 ramp

primary
#BB71EE
secondary
#DAF0CB
accent
#DB0B60
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB71EE

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

Preview Lab → · Contrast checker → · Palette generator →

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