#BB71E6#BB71E6

#BB71E6 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.5% C 0.180 H 311.7°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#BB71E6
RGBrgb(187, 113, 230)
HSLhsl(278, 70%, 67%)
HSVhsv(278, 51%, 90%)
CMYKcmyk(18.7%, 50.9%, 0%, 9.8%)
CIE-LABlab(59.97, 49.35, -48.07)
CIE-LCHlch(59.97, 68.89, 315.75°)
OKLaboklab(67.55% 0.1196 -0.1343)
OKLCHoklch(67.55% 0.18 311.7)
XYZxyz(40.6790, 28.0891, 78.1264)
Luminance0.2809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71E6 #9CE671
analogous
#8171E6 #BB71E6 #E671D6
triadic
#BB71E6 #E6BB71 #71E6BB
tetradic
#BB71E6 #E68171 #9CE671 #71D6E6
square
#BB71E6 #E68171 #9CE671 #71D6E6
split-complementary
#BB71E6 #D6E671 #71E681
monochromatic
#8321BC #A23DDD #BB71E6 #D4A5EF #EDD9F8

Accessibility & contrast

On white

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

On black

6.62
#BB71E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71E6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71E6#FFFFFF#000000##000000
##BB71E61.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#538DEA
Deuteranopia (green-blind)
#6A92E3
Tritanopia (blue-blind)
#B684A1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #bb71e6;
/* rgb */ color: rgb(187, 113, 230);
/* oklch */ color: oklch(67.5% 0.180 311.7);
Tailwind
colors: {
  custom: {
    50: '#d29cee',
    500: '#bb71e6',
    950: '#000000',
  },
}
SCSS
$custom: #bb71e6;
$custom-light: #d29cee;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71e6",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 230
  },
  "hsl": {
    "h": 277.949,
    "s": 70.06,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67548,
    "c": 0.17983,
    "h": 311.7
  },
  "luminance": 0.28088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB71E6

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

Preview Lab → · Contrast checker → · Palette generator →

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