#BD8DEC#BD8DEC

#BD8DEC is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.5% C 0.142 H 306.4°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#BD8DEC
RGBrgb(189, 141, 236)
HSLhsl(270, 71%, 74%)
HSVhsv(270, 40%, 93%)
CMYKcmyk(19.9%, 40.3%, 0%, 7.5%)
CIE-LABlab(66.46, 36.12, -41.16)
CIE-LCHlch(66.46, 54.76, 311.27°)
OKLaboklab(72.54% 0.0844 -0.1143)
OKLCHoklch(72.54% 0.142 306.4)
XYZxyz(45.6485, 35.9250, 83.8700)
Luminance0.3593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD8DEC #BCEC8D
analogous
#8E8DEC #BD8DEC #EC8DEC
triadic
#BD8DEC #ECBD8D #8DECBD
tetradic
#BD8DEC #EC8E8D #BCEC8D #8DECEC
square
#BD8DEC #EC8E8D #BCEC8D #8DECEC
split-complementary
#BD8DEC #ECEC8D #8DEC8E
monochromatic
#8024DA #9F59E3 #BD8DEC #DBC1F5 #F0E5FB

Accessibility & contrast

On white

2.57
#BD8DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#BD8DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD8DEC
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD8DEC#FFFFFF#000000##000000
##BD8DEC1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F0
Deuteranopia (green-blind)
#82A2E9
Tritanopia (blue-blind)
#B69CB1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bd8dec;
/* rgb */ color: rgb(189, 141, 236);
/* oklch */ color: oklch(72.5% 0.142 306.4);
Tailwind
colors: {
  custom: {
    50: '#d2aff2',
    500: '#bd8dec',
    950: '#000000',
  },
}
SCSS
$custom: #bd8dec;
$custom-light: #d2aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd8dec",
  "rgb": {
    "r": 189,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 270.316,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72543,
    "c": 0.14209,
    "h": 306.4
  },
  "luminance": 0.35925
}

Semantic roles & 50–950 ramp

primary
#BD8DEC
secondary
#E5F2D9
accent
#D31272
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BD8DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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