#BD71D7#BD71D7

#BD71D7 is a light, vivid purple. Relative luminance 0.275; OKLCH L 67.0% C 0.164 H 317.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#BD71D7
RGBrgb(189, 113, 215)
HSLhsl(285, 56%, 64%)
HSVhsv(285, 47%, 84%)
CMYKcmyk(12.1%, 47.4%, 0%, 15.7%)
CIE-LABlab(59.47, 46.75, -40.44)
CIE-LCHlch(59.47, 61.81, 319.14°)
OKLaboklab(66.99% 0.1202 -0.1121)
OKLCHoklch(66.99% 0.164 317)
XYZxyz(39.1554, 27.5366, 67.5293)
Luminance0.2753 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD71D7 #8BD771
analogous
#8A71D7 #BD71D7 #D771BE
triadic
#BD71D7 #D7BD71 #71D7BD
tetradic
#BD71D7 #D78A71 #8BD771 #71BED7
square
#BD71D7 #D78A71 #8BD771 #71BED7
split-complementary
#BD71D7 #BED771 #71D78A
monochromatic
#832DA0 #A741CA #BD71D7 #D3A1E4 #E9D0F2

Accessibility & contrast

On white

3.23
#BD71D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#BD71D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD71D7
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD71D7#FFFFFF#000000##000000
##BD71D71.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8ADB
Deuteranopia (green-blind)
#7492D4
Tritanopia (blue-blind)
#BC809A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #bd71d7;
/* rgb */ color: rgb(189, 113, 215);
/* oklch */ color: oklch(67.0% 0.164 317.0);
Tailwind
colors: {
  custom: {
    50: '#d39ce4',
    500: '#bd71d7',
    950: '#000000',
  },
}
SCSS
$custom: #bd71d7;
$custom-light: #d39ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#bd71d7",
  "rgb": {
    "r": 189,
    "g": 113,
    "b": 215
  },
  "hsl": {
    "h": 284.706,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66988,
    "c": 0.16438,
    "h": 317
  },
  "luminance": 0.27535
}

Semantic roles & 50–950 ramp

primary
#BD71D7
secondary
#C9E4C0
accent
#C4224B
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #BD71D7

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

Preview Lab → · Contrast checker → · Palette generator →

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