#BB71E2#BB71E2

#BB71E2 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.3% C 0.175 H 312.8°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#BB71E2
RGBrgb(187, 113, 226)
HSLhsl(279, 66%, 66%)
HSVhsv(279, 50%, 89%)
CMYKcmyk(17.3%, 50%, 0%, 11.4%)
CIE-LABlab(59.77, 48.49, -46.15)
CIE-LCHlch(59.77, 66.95, 316.42°)
OKLaboklab(67.33% 0.1192 -0.1287)
OKLCHoklch(67.33% 0.175 312.8)
XYZxyz(40.1238, 27.8670, 75.2020)
Luminance0.2787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71E2 #98E271
analogous
#8371E2 #BB71E2 #E271D1
triadic
#BB71E2 #E2BB71 #71E2BB
tetradic
#BB71E2 #E28371 #98E271 #71D1E2
square
#BB71E2 #E28371 #98E271 #71D1E2
split-complementary
#BB71E2 #D1E271 #71E283
monochromatic
#8225B4 #A33ED8 #BB71E2 #D3A4EC #ECD7F7

Accessibility & contrast

On white

3.19
#BB71E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#BB71E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71E2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71E2#FFFFFF#000000##000000
##BB71E21.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#568CE6
Deuteranopia (green-blind)
#6C92DF
Tritanopia (blue-blind)
#B7839F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #bb71e2;
/* rgb */ color: rgb(187, 113, 226);
/* oklch */ color: oklch(67.3% 0.175 312.8);
Tailwind
colors: {
  custom: {
    50: '#d29ceb',
    500: '#bb71e2',
    950: '#000000',
  },
}
SCSS
$custom: #bb71e2;
$custom-light: #d29ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71e2",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 279.292,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67334,
    "c": 0.17543,
    "h": 312.8
  },
  "luminance": 0.27866
}

Semantic roles & 50–950 ramp

primary
#BB71E2
secondary
#D2EAC5
accent
#CE1857
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB71E2

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

Preview Lab → · Contrast checker → · Palette generator →

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