#BB71F8#BB71F8

#BB71F8 is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.6% C 0.200 H 307.2°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#BB71F8
RGBrgb(187, 113, 248)
HSLhsl(273, 91%, 71%)
HSVhsv(273, 54%, 97%)
CMYKcmyk(24.6%, 54.4%, 0%, 2.7%)
CIE-LABlab(60.92, 53.31, -56.55)
CIE-LCHlch(60.92, 77.72, 313.31°)
OKLaboklab(68.55% 0.1209 -0.159)
OKLCHoklch(68.55% 0.2 307.2)
XYZxyz(43.3385, 29.1528, 92.1327)
Luminance0.2915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71F8 #AEF871
analogous
#7771F8 #BB71F8 #F871F1
triadic
#BB71F8 #F8BB71 #71F8BB
tetradic
#BB71F8 #F87771 #AEF871 #71F1F8
square
#BB71F8 #F87771 #AEF871 #71F1F8
split-complementary
#BB71F8 #F1F871 #71F877
monochromatic
#820BE3 #9F37F5 #BB71F8 #D7ABFB #F1E2FE

Accessibility & contrast

On white

3.07
#BB71F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#BB71F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71F8
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71F8#FFFFFF#000000##000000
##BB71F81.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4490FC
Deuteranopia (green-blind)
#5D94F5
Tritanopia (blue-blind)
#B28AAA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bb71f8;
/* rgb */ color: rgb(187, 113, 248);
/* oklch */ color: oklch(68.6% 0.200 307.2);
Tailwind
colors: {
  custom: {
    50: '#d39cfb',
    500: '#bb71f8',
    950: '#000000',
  },
}
SCSS
$custom: #bb71f8;
$custom-light: #d39cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71f8",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 272.889,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68554,
    "c": 0.19975,
    "h": 307.2
  },
  "luminance": 0.29152
}

Semantic roles & 50–950 ramp

primary
#BB71F8
secondary
#E1F5D0
accent
#E60068
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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