#BD71EB#BD71EB

#BD71EB is a light, vivid violet. Relative luminance 0.286; OKLCH L 68.0% C 0.186 H 311.2°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#BD71EB
RGBrgb(189, 113, 235)
HSLhsl(277, 75%, 68%)
HSVhsv(277, 52%, 92%)
CMYKcmyk(19.6%, 51.9%, 0%, 7.8%)
CIE-LABlab(60.45, 50.95, -50.07)
CIE-LCHlch(60.45, 71.44, 315.50°)
OKLaboklab(68.04% 0.1225 -0.1401)
OKLCHoklch(68.04% 0.186 311.2)
XYZxyz(41.8841, 28.6281, 81.9005)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD71EB #9FEB71
analogous
#8071EB #BD71EB #EB71DC
triadic
#BD71EB #EBBD71 #71EBBD
tetradic
#BD71EB #EB8071 #9FEB71 #71DCEB
square
#BD71EB #EB8071 #9FEB71 #71DCEB
split-complementary
#BD71EB #DCEB71 #71EB80
monochromatic
#861CC6 #A43BE3 #BD71EB #D6A7F3 #EFDCFA

Accessibility & contrast

On white

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

On black

6.73
#BD71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD71EB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD71EB#FFFFFF#000000##000000
##BD71EB1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EEF
Deuteranopia (green-blind)
#6893E8
Tritanopia (blue-blind)
#B885A4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bd71eb;
/* rgb */ color: rgb(189, 113, 235);
/* oklch */ color: oklch(68.0% 0.186 311.2);
Tailwind
colors: {
  custom: {
    50: '#d39cf2',
    500: '#bd71eb',
    950: '#000000',
  },
}
SCSS
$custom: #bd71eb;
$custom-light: #d39cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd71eb",
  "rgb": {
    "r": 189,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 277.377,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68038,
    "c": 0.18605,
    "h": 311.2
  },
  "luminance": 0.28627
}

Semantic roles & 50–950 ramp

primary
#BD71EB
secondary
#D7EEC9
accent
#D70E5A
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BD71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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