#BB71ED#BB71ED

#BB71ED is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.9% C 0.188 H 309.9°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#BB71ED
RGBrgb(187, 113, 237)
HSLhsl(276, 78%, 69%)
HSVhsv(276, 52%, 93%)
CMYKcmyk(21.1%, 52.3%, 0%, 7.1%)
CIE-LABlab(60.33, 50.87, -51.40)
CIE-LCHlch(60.33, 72.31, 314.70°)
OKLaboklab(67.93% 0.1202 -0.144)
OKLCHoklch(67.93% 0.188 309.9)
XYZxyz(41.6818, 28.4902, 83.4077)
Luminance0.2849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71ED #A3ED71
analogous
#7D71ED #BB71ED #ED71E1
triadic
#BB71ED #EDBB71 #71EDBB
tetradic
#BB71ED #ED7D71 #A3ED71 #71E1ED
square
#BB71ED #ED7D71 #A3ED71 #71E1ED
split-complementary
#BB71ED #E1ED71 #71ED7D
monochromatic
#831ACA #A13BE6 #BB71ED #D5A7F4 #EFDEFB

Accessibility & contrast

On white

3.14
#BB71ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#BB71ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71ED
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71ED#FFFFFF#000000##000000
##BB71ED1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8EF1
Deuteranopia (green-blind)
#6693EA
Tritanopia (blue-blind)
#B586A5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #bb71ed;
/* rgb */ color: rgb(187, 113, 237);
/* oklch */ color: oklch(67.9% 0.188 309.9);
Tailwind
colors: {
  custom: {
    50: '#d29cf3',
    500: '#bb71ed',
    950: '#000000',
  },
}
SCSS
$custom: #bb71ed;
$custom-light: #d29cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71ed",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 275.806,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67931,
    "c": 0.18756,
    "h": 309.9
  },
  "luminance": 0.28489
}

Semantic roles & 50–950 ramp

primary
#BB71ED
secondary
#D9EFCA
accent
#DA0C5F
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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