#BB71E8#BB71E8

#BB71E8 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.7% C 0.182 H 311.2°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#BB71E8
RGBrgb(187, 113, 232)
HSLhsl(277, 72%, 68%)
HSVhsv(277, 51%, 91%)
CMYKcmyk(19.4%, 51.3%, 0%, 9%)
CIE-LABlab(60.07, 49.78, -49.02)
CIE-LCHlch(60.07, 69.87, 315.44°)
OKLaboklab(67.66% 0.1198 -0.1371)
OKLCHoklch(67.66% 0.182 311.2)
XYZxyz(40.9615, 28.2021, 79.6140)
Luminance0.2820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71E8 #9EE871
analogous
#8071E8 #BB71E8 #E871D9
triadic
#BB71E8 #E8BB71 #71E8BB
tetradic
#BB71E8 #E88071 #9EE871 #71D9E8
square
#BB71E8 #E88071 #9EE871 #71D9E8
split-complementary
#BB71E8 #D9E871 #71E880
monochromatic
#831FC0 #A23CDF #BB71E8 #D4A6F1 #EDDAF9

Accessibility & contrast

On white

3.16
#BB71E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#BB71E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71E8
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71E8#FFFFFF#000000##000000
##BB71E81.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#528DEC
Deuteranopia (green-blind)
#6992E5
Tritanopia (blue-blind)
#B685A2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #bb71e8;
/* rgb */ color: rgb(187, 113, 232);
/* oklch */ color: oklch(67.7% 0.182 311.2);
Tailwind
colors: {
  custom: {
    50: '#d29cf0',
    500: '#bb71e8',
    950: '#000000',
  },
}
SCSS
$custom: #bb71e8;
$custom-light: #d29cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71e8",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 277.311,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67656,
    "c": 0.18204,
    "h": 311.2
  },
  "luminance": 0.28201
}

Semantic roles & 50–950 ramp

primary
#BB71E8
secondary
#D6EDC8
accent
#D4115B
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB71E8

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

Preview Lab → · Contrast checker → · Palette generator →

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