#BD7DEC#BD7DEC

#BD7DEC is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.9% C 0.168 H 309.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#BD7DEC
RGBrgb(189, 125, 236)
HSLhsl(275, 74%, 71%)
HSVhsv(275, 47%, 93%)
CMYKcmyk(19.9%, 47%, 0%, 7.5%)
CIE-LABlab(62.96, 44.83, -46.66)
CIE-LCHlch(62.96, 64.71, 313.86°)
OKLaboklab(69.92% 0.1065 -0.1302)
OKLCHoklch(69.92% 0.168 309.3)
XYZxyz(43.4573, 31.5428, 83.1397)
Luminance0.3154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7DEC #ACEC7D
analogous
#857DEC #BD7DEC #EC7DE3
triadic
#BD7DEC #ECBD7D #7DECBD
tetradic
#BD7DEC #EC857D #ACEC7D #7DE3EC
square
#BD7DEC #EC857D #ACEC7D #7DE3EC
split-complementary
#BD7DEC #E3EC7D #7DEC85
monochromatic
#851ED0 #A248E4 #BD7DEC #D8B2F4 #F1E4FB

Accessibility & contrast

On white

2.87
#BD7DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#BD7DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7DEC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7DEC#FFFFFF#000000##000000
##BD7DEC1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295F0
Deuteranopia (green-blind)
#7399E9
Tritanopia (blue-blind)
#B78FA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bd7dec;
/* rgb */ color: rgb(189, 125, 236);
/* oklch */ color: oklch(69.9% 0.168 309.3);
Tailwind
colors: {
  custom: {
    50: '#d3a4f2',
    500: '#bd7dec',
    950: '#000000',
  },
}
SCSS
$custom: #bd7dec;
$custom-light: #d3a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7dec",
  "rgb": {
    "r": 189,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 274.595,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69918,
    "c": 0.16819,
    "h": 309.3
  },
  "luminance": 0.31542
}

Semantic roles & 50–950 ramp

primary
#BD7DEC
secondary
#E0F1D3
accent
#D70F63
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD7DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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