#BB71E5#BB71E5

#BB71E5 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.5% C 0.179 H 312.0°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#BB71E5
RGBrgb(187, 113, 229)
HSLhsl(278, 69%, 67%)
HSVhsv(278, 51%, 90%)
CMYKcmyk(18.3%, 50.7%, 0%, 10.2%)
CIE-LABlab(59.92, 49.13, -47.59)
CIE-LCHlch(59.92, 68.40, 315.91°)
OKLaboklab(67.49% 0.1195 -0.1329)
OKLCHoklch(67.49% 0.179 312)
XYZxyz(40.5390, 28.0331, 77.3889)
Luminance0.2803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71E5 #9BE571
analogous
#8171E5 #BB71E5 #E571D5
triadic
#BB71E5 #E5BB71 #71E5BB
tetradic
#BB71E5 #E58171 #9BE571 #71D5E5
square
#BB71E5 #E58171 #9BE571 #71D5E5
split-complementary
#BB71E5 #D5E571 #71E581
monochromatic
#8322BA #A23DDC #BB71E5 #D4A5EE #EDD8F8

Accessibility & contrast

On white

3.18
#BB71E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#BB71E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71E5
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71E5#FFFFFF#000000##000000
##BB71E51.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#548DE9
Deuteranopia (green-blind)
#6B92E2
Tritanopia (blue-blind)
#B784A1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #bb71e5;
/* rgb */ color: rgb(187, 113, 229);
/* oklch */ color: oklch(67.5% 0.179 312.0);
Tailwind
colors: {
  custom: {
    50: '#d29cee',
    500: '#bb71e5',
    950: '#000000',
  },
}
SCSS
$custom: #bb71e5;
$custom-light: #d29cee;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71e5",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 278.276,
    "s": 69.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67494,
    "c": 0.17872,
    "h": 312
  },
  "luminance": 0.28032
}

Semantic roles & 50–950 ramp

primary
#BB71E5
secondary
#D4EBC6
accent
#D11459
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB71E5

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

Preview Lab → · Contrast checker → · Palette generator →

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