#BB71EF#BB71EF

#BB71EF is a light, vivid violet. Relative luminance 0.286; OKLCH L 68.0% C 0.190 H 309.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#BB71EF
RGBrgb(187, 113, 239)
HSLhsl(275, 80%, 69%)
HSVhsv(275, 53%, 94%)
CMYKcmyk(21.8%, 52.7%, 0%, 6.3%)
CIE-LABlab(60.43, 51.31, -52.34)
CIE-LCHlch(60.43, 73.29, 314.43°)
OKLaboklab(68.04% 0.1204 -0.1467)
OKLCHoklch(68.04% 0.19 309.4)
XYZxyz(41.9756, 28.6077, 84.9552)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71EF #A5EF71
analogous
#7C71EF #BB71EF #EF71E4
triadic
#BB71EF #EFBB71 #71EFBB
tetradic
#BB71EF #EF7C71 #A5EF71 #71E4EF
square
#BB71EF #EF7C71 #A5EF71 #71E4EF
split-complementary
#BB71EF #E4EF71 #71EF7C
monochromatic
#8317CE #A13AE9 #BB71EF #D5A8F5 #F0DFFB

Accessibility & contrast

On white

3.12
#BB71EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#BB71EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71EF
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71EF#FFFFFF#000000##000000
##BB71EF1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8EF3
Deuteranopia (green-blind)
#6493EC
Tritanopia (blue-blind)
#B487A6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb71ef;
/* rgb */ color: rgb(187, 113, 239);
/* oklch */ color: oklch(68.0% 0.190 309.4);
Tailwind
colors: {
  custom: {
    50: '#d29cf5',
    500: '#bb71ef',
    950: '#000000',
  },
}
SCSS
$custom: #bb71ef;
$custom-light: #d29cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71ef",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 275.238,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68042,
    "c": 0.18977,
    "h": 309.4
  },
  "luminance": 0.28607
}

Semantic roles & 50–950 ramp

primary
#BB71EF
secondary
#DBF0CB
accent
#DC0960
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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