#BD8EDA#BD8EDA

#BD8EDA is a light, moderate violet. Relative luminance 0.352; OKLCH L 71.9% C 0.118 H 311.9°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#BD8EDA
RGBrgb(189, 142, 218)
HSLhsl(277, 51%, 71%)
HSVhsv(277, 35%, 85%)
CMYKcmyk(13.3%, 34.9%, 0%, 14.5%)
CIE-LABlab(65.93, 31.64, -32.05)
CIE-LCHlch(65.93, 45.03, 314.63°)
OKLaboklab(71.89% 0.0791 -0.0882)
OKLCHoklch(71.89% 0.118 311.9)
XYZxyz(43.3120, 35.2274, 70.8340)
Luminance0.3523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD8EDA #ABDA8E
analogous
#978EDA #BD8EDA #DA8ED1
triadic
#BD8EDA #DABD8E #8EDABD
tetradic
#BD8EDA #DA978E #ABDA8E #8ED1DA
square
#BD8EDA #DA978E #ABDA8E #8ED1DA
split-complementary
#BD8EDA #D1DA8E #8EDA97
monochromatic
#853BB3 #A260CB #BD8EDA #D8BCE9 #F2E8F7

Accessibility & contrast

On white

2.61
#BD8EDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#BD8EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD8EDA
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD8EDA#FFFFFF#000000##000000
##BD8EDA1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#819EDD
Deuteranopia (green-blind)
#8BA1D8
Tritanopia (blue-blind)
#BA98AA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bd8eda;
/* rgb */ color: rgb(189, 142, 218);
/* oklch */ color: oklch(71.9% 0.118 311.9);
Tailwind
colors: {
  custom: {
    50: '#d2afe5',
    500: '#bd8eda',
    950: '#000000',
  },
}
SCSS
$custom: #bd8eda;
$custom-light: #d2afe5;
$custom-dark: #000000;
JSON
{
  "hex": "#bd8eda",
  "rgb": {
    "r": 189,
    "g": 142,
    "b": 218
  },
  "hsl": {
    "h": 277.105,
    "s": 50.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71885,
    "c": 0.11847,
    "h": 311.9
  },
  "luminance": 0.35227
}

Semantic roles & 50–950 ramp

primary
#BD8EDA
secondary
#DFECD8
accent
#BE2761
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BD8EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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