#BB71FC#BB71FC

#BB71FC is a light, highly saturated violet. Relative luminance 0.294; OKLCH L 68.8% C 0.204 H 306.3°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#BB71FC
RGBrgb(187, 113, 252)
HSLhsl(272, 96%, 72%)
HSVhsv(272, 55%, 99%)
CMYKcmyk(25.8%, 55.2%, 0%, 1.2%)
CIE-LABlab(61.14, 54.21, -58.41)
CIE-LCHlch(61.14, 79.69, 312.86°)
OKLaboklab(68.79% 0.121 -0.1645)
OKLCHoklch(68.79% 0.204 306.3)
XYZxyz(43.9657, 29.4037, 95.4359)
Luminance0.2940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71FC #B2FC71
analogous
#7671FC #BB71FC #FC71F8
triadic
#BB71FC #FCBB71 #71FCBB
tetradic
#BB71FC #FC7671 #B2FC71 #71F8FC
square
#BB71FC #FC7671 #B2FC71 #71F8FC
split-complementary
#BB71FC #F8FC71 #71FC76
monochromatic
#8105EE #9E35FB #BB71FC #D8ADFD #F1E1FE

Accessibility & contrast

On white

3.05
#BB71FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#BB71FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71FC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71FC#FFFFFF#000000##000000
##BB71FC1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F91FF
Deuteranopia (green-blind)
#5A94F9
Tritanopia (blue-blind)
#B18BAC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb71fc;
/* rgb */ color: rgb(187, 113, 252);
/* oklch */ color: oklch(68.8% 0.204 306.3);
Tailwind
colors: {
  custom: {
    50: '#d39cfe',
    500: '#bb71fc',
    950: '#000000',
  },
}
SCSS
$custom: #bb71fc;
$custom-light: #d39cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71fc",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 271.942,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68786,
    "c": 0.2042,
    "h": 306.3
  },
  "luminance": 0.29403
}

Semantic roles & 50–950 ramp

primary
#BB71FC
secondary
#E3F6D3
accent
#E6006B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #BB71FC

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

Preview Lab → · Contrast checker → · Palette generator →

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