#BB71EA#BB71EA

#BB71EA is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.8% C 0.184 H 310.6°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#BB71EA
RGBrgb(187, 113, 234)
HSLhsl(277, 74%, 68%)
HSVhsv(277, 52%, 92%)
CMYKcmyk(20.1%, 51.7%, 0%, 8.2%)
CIE-LABlab(60.17, 50.22, -49.97)
CIE-LCHlch(60.17, 70.84, 315.14°)
OKLaboklab(67.77% 0.12 -0.1398)
OKLCHoklch(67.77% 0.184 310.6)
XYZxyz(41.2472, 28.3163, 81.1187)
Luminance0.2832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71EA #A0EA71
analogous
#7E71EA #BB71EA #EA71DD
triadic
#BB71EA #EABB71 #71EABB
tetradic
#BB71EA #EA7E71 #A0EA71 #71DDEA
square
#BB71EA #EA7E71 #A0EA71 #71DDEA
split-complementary
#BB71EA #DDEA71 #71EA7E
monochromatic
#831DC4 #A13CE2 #BB71EA #D5A6F2 #EEDCFA

Accessibility & contrast

On white

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

On black

6.66
#BB71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71EA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71EA#FFFFFF#000000##000000
##BB71EA1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#508DEE
Deuteranopia (green-blind)
#6892E7
Tritanopia (blue-blind)
#B585A3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #bb71ea;
/* rgb */ color: rgb(187, 113, 234);
/* oklch */ color: oklch(67.8% 0.184 310.6);
Tailwind
colors: {
  custom: {
    50: '#d29cf1',
    500: '#bb71ea',
    950: '#000000',
  },
}
SCSS
$custom: #bb71ea;
$custom-light: #d29cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71ea",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 276.694,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67765,
    "c": 0.18424,
    "h": 310.6
  },
  "luminance": 0.28316
}

Semantic roles & 50–950 ramp

primary
#BB71EA
secondary
#D7EEC9
accent
#D60F5D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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