#BB71E7#BB71E7

#BB71E7 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.6% C 0.181 H 311.4°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#BB71E7
RGBrgb(187, 113, 231)
HSLhsl(278, 71%, 67%)
HSVhsv(278, 51%, 91%)
CMYKcmyk(19%, 51.1%, 0%, 9.4%)
CIE-LABlab(60.02, 49.57, -48.55)
CIE-LCHlch(60.02, 69.38, 315.59°)
OKLaboklab(67.6% 0.1197 -0.1357)
OKLCHoklch(67.6% 0.181 311.4)
XYZxyz(40.8199, 28.1454, 78.8681)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71E7 #9DE771
analogous
#8071E7 #BB71E7 #E771D8
triadic
#BB71E7 #E7BB71 #71E7BB
tetradic
#BB71E7 #E78071 #9DE771 #71D8E7
square
#BB71E7 #E78071 #9DE771 #71D8E7
split-complementary
#BB71E7 #D8E771 #71E780
monochromatic
#8320BE #A23DDE #BB71E7 #D4A5F0 #EDDAF9

Accessibility & contrast

On white

3.17
#BB71E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#BB71E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71E7
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71E7#FFFFFF#000000##000000
##BB71E71.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#538DEB
Deuteranopia (green-blind)
#6992E4
Tritanopia (blue-blind)
#B685A2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #bb71e7;
/* rgb */ color: rgb(187, 113, 231);
/* oklch */ color: oklch(67.6% 0.181 311.4);
Tailwind
colors: {
  custom: {
    50: '#d29cef',
    500: '#bb71e7',
    950: '#000000',
  },
}
SCSS
$custom: #bb71e7;
$custom-light: #d29cef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71e7",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 277.627,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67602,
    "c": 0.18093,
    "h": 311.4
  },
  "luminance": 0.28145
}

Semantic roles & 50–950 ramp

primary
#BB71E7
secondary
#D5ECC7
accent
#D3125A
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB71E7

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

Preview Lab → · Contrast checker → · Palette generator →

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