#BB71E1#BB71E1

#BB71E1 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.3% C 0.174 H 313.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#BB71E1
RGBrgb(187, 113, 225)
HSLhsl(280, 65%, 66%)
HSVhsv(280, 50%, 88%)
CMYKcmyk(16.9%, 49.8%, 0%, 11.8%)
CIE-LABlab(59.72, 48.28, -45.67)
CIE-LCHlch(59.72, 66.46, 316.59°)
OKLaboklab(67.28% 0.1191 -0.1273)
OKLCHoklch(67.28% 0.174 313.1)
XYZxyz(39.9870, 27.8122, 74.4814)
Luminance0.2781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71E1 #97E171
analogous
#8371E1 #BB71E1 #E171CF
triadic
#BB71E1 #E1BB71 #71E1BB
tetradic
#BB71E1 #E18371 #97E171 #71CFE1
square
#BB71E1 #E18371 #97E171 #71CFE1
split-complementary
#BB71E1 #CFE171 #71E183
monochromatic
#8226B2 #A33ED6 #BB71E1 #D3A4EC #EBD6F6

Accessibility & contrast

On white

3.20
#BB71E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#BB71E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71E1
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71E1#FFFFFF#000000##000000
##BB71E11.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#578CE5
Deuteranopia (green-blind)
#6D92DE
Tritanopia (blue-blind)
#B8839F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #bb71e1;
/* rgb */ color: rgb(187, 113, 225);
/* oklch */ color: oklch(67.3% 0.174 313.1);
Tailwind
colors: {
  custom: {
    50: '#d29ceb',
    500: '#bb71e1',
    950: '#000000',
  },
}
SCSS
$custom: #bb71e1;
$custom-light: #d29ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71e1",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 225
  },
  "hsl": {
    "h": 279.643,
    "s": 65.116,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67281,
    "c": 0.17433,
    "h": 313.1
  },
  "luminance": 0.27811
}

Semantic roles & 50–950 ramp

primary
#BB71E1
secondary
#D1E9C5
accent
#CD1956
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB71E1

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

Preview Lab → · Contrast checker → · Palette generator →

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