#BB71F2#BB71F2

#BB71F2 is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.2% C 0.193 H 308.6°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#BB71F2
RGBrgb(187, 113, 242)
HSLhsl(274, 83%, 70%)
HSVhsv(274, 53%, 95%)
CMYKcmyk(22.7%, 53.3%, 0%, 5.1%)
CIE-LABlab(60.59, 51.97, -53.75)
CIE-LCHlch(60.59, 74.77, 314.03°)
OKLaboklab(68.21% 0.1206 -0.1509)
OKLCHoklch(68.21% 0.193 308.6)
XYZxyz(42.4225, 28.7865, 87.3087)
Luminance0.2879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71F2 #A8F271
analogous
#7B71F2 #BB71F2 #F271E8
triadic
#BB71F2 #F2BB71 #71F2BB
tetradic
#BB71F2 #F27B71 #A8F271 #71E8F2
square
#BB71F2 #F27B71 #A8F271 #71E8F2
split-complementary
#BB71F2 #E8F271 #71F27B
monochromatic
#8314D5 #A039ED #BB71F2 #D6A9F7 #F1E1FC

Accessibility & contrast

On white

3.11
#BB71F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#BB71F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71F2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71F2#FFFFFF#000000##000000
##BB71F21.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#6293EF
Tritanopia (blue-blind)
#B388A7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb71f2;
/* rgb */ color: rgb(187, 113, 242);
/* oklch */ color: oklch(68.2% 0.193 308.6);
Tailwind
colors: {
  custom: {
    50: '#d29cf7',
    500: '#bb71f2',
    950: '#000000',
  },
}
SCSS
$custom: #bb71f2;
$custom-light: #d29cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71f2",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 274.419,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68211,
    "c": 0.1931,
    "h": 308.6
  },
  "luminance": 0.28786
}

Semantic roles & 50–950 ramp

primary
#BB71F2
secondary
#DDF2CD
accent
#E00663
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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