#BB71E4#BB71E4

#BB71E4 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.4% C 0.178 H 312.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#BB71E4
RGBrgb(187, 113, 228)
HSLhsl(279, 68%, 67%)
HSVhsv(279, 50%, 89%)
CMYKcmyk(18%, 50.4%, 0%, 10.6%)
CIE-LABlab(59.87, 48.92, -47.11)
CIE-LCHlch(59.87, 67.92, 316.08°)
OKLaboklab(67.44% 0.1194 -0.1315)
OKLCHoklch(67.44% 0.178 312.2)
XYZxyz(40.3998, 27.9774, 76.6557)
Luminance0.2798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71E4 #9AE471
analogous
#8271E4 #BB71E4 #E471D3
triadic
#BB71E4 #E4BB71 #71E4BB
tetradic
#BB71E4 #E48271 #9AE471 #71D3E4
square
#BB71E4 #E48271 #9AE471 #71D3E4
split-complementary
#BB71E4 #D3E471 #71E482
monochromatic
#8323B8 #A23EDA #BB71E4 #D4A4EE #ECD8F8

Accessibility & contrast

On white

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

On black

6.60
#BB71E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71E4
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71E4#FFFFFF#000000##000000
##BB71E41.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#558CE8
Deuteranopia (green-blind)
#6B92E1
Tritanopia (blue-blind)
#B784A0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #bb71e4;
/* rgb */ color: rgb(187, 113, 228);
/* oklch */ color: oklch(67.4% 0.178 312.2);
Tailwind
colors: {
  custom: {
    50: '#d29ced',
    500: '#bb71e4',
    950: '#000000',
  },
}
SCSS
$custom: #bb71e4;
$custom-light: #d29ced;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71e4",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 278.609,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67441,
    "c": 0.17763,
    "h": 312.2
  },
  "luminance": 0.27976
}

Semantic roles & 50–950 ramp

primary
#BB71E4
secondary
#D3EBC6
accent
#D01658
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB71E4

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

Preview Lab → · Contrast checker → · Palette generator →

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