#BD71EC#BD71EC

#BD71EC is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.1% C 0.187 H 310.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#BD71EC
RGBrgb(189, 113, 236)
HSLhsl(277, 76%, 68%)
HSVhsv(277, 52%, 93%)
CMYKcmyk(19.9%, 52.1%, 0%, 7.5%)
CIE-LABlab(60.50, 51.17, -50.55)
CIE-LCHlch(60.50, 71.93, 315.35°)
OKLaboklab(68.09% 0.1225 -0.1414)
OKLCHoklch(68.09% 0.187 310.9)
XYZxyz(42.0289, 28.6860, 82.6635)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD71EC #A0EC71
analogous
#7F71EC #BD71EC #EC71DE
triadic
#BD71EC #ECBD71 #71ECBD
tetradic
#BD71EC #EC7F71 #A0EC71 #71DEEC
square
#BD71EC #EC7F71 #A0EC71 #71DEEC
split-complementary
#BD71EC #DEEC71 #71EC7F
monochromatic
#861BC8 #A43BE5 #BD71EC #D6A7F3 #EFDDFA

Accessibility & contrast

On white

3.12
#BD71EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#BD71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD71EC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD71EC#FFFFFF#000000##000000
##BD71EC1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EF0
Deuteranopia (green-blind)
#6893E9
Tritanopia (blue-blind)
#B786A4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bd71ec;
/* rgb */ color: rgb(189, 113, 236);
/* oklch */ color: oklch(68.1% 0.187 310.9);
Tailwind
colors: {
  custom: {
    50: '#d39cf3',
    500: '#bd71ec',
    950: '#000000',
  },
}
SCSS
$custom: #bd71ec;
$custom-light: #d39cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#bd71ec",
  "rgb": {
    "r": 189,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 277.073,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68093,
    "c": 0.18715,
    "h": 310.9
  },
  "luminance": 0.28685
}

Semantic roles & 50–950 ramp

primary
#BD71EC
secondary
#D8EFCA
accent
#D90D5B
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BD71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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