#BB71F4#BB71F4

#BB71F4 is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.3% C 0.195 H 308.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#BB71F4
RGBrgb(187, 113, 244)
HSLhsl(274, 86%, 70%)
HSVhsv(274, 54%, 96%)
CMYKcmyk(23.4%, 53.7%, 0%, 4.3%)
CIE-LABlab(60.70, 52.41, -54.69)
CIE-LCHlch(60.70, 75.75, 313.78°)
OKLaboklab(68.32% 0.1207 -0.1536)
OKLCHoklch(68.32% 0.195 308.2)
XYZxyz(42.7245, 28.9073, 88.8993)
Luminance0.2891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71F4 #AAF471
analogous
#7971F4 #BB71F4 #F471EC
triadic
#BB71F4 #F4BB71 #71F4BB
tetradic
#BB71F4 #F47971 #AAF471 #71ECF4
square
#BB71F4 #F47971 #AAF471 #71ECF4
split-complementary
#BB71F4 #ECF471 #71F479
monochromatic
#8211DA #A038F0 #BB71F4 #D6AAF8 #F1E3FD

Accessibility & contrast

On white

3.10
#BB71F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#BB71F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71F4
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71F4#FFFFFF#000000##000000
##BB71F41.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#488FF8
Deuteranopia (green-blind)
#6193F1
Tritanopia (blue-blind)
#B389A8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb71f4;
/* rgb */ color: rgb(187, 113, 244);
/* oklch */ color: oklch(68.3% 0.195 308.2);
Tailwind
colors: {
  custom: {
    50: '#d29cf8',
    500: '#bb71f4',
    950: '#000000',
  },
}
SCSS
$custom: #bb71f4;
$custom-light: #d29cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71f4",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 273.893,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.68324,
    "c": 0.19532,
    "h": 308.2
  },
  "luminance": 0.28907
}

Semantic roles & 50–950 ramp

primary
#BB71F4
secondary
#DEF3CE
accent
#E20364
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB71F4

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

Preview Lab → · Contrast checker → · Palette generator →

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