#BD8AFE#BD8AFE

#BD8AFE is a light, vivid violet. Relative luminance 0.362; OKLCH L 72.9% C 0.169 H 302.7°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#BD8AFE
RGBrgb(189, 138, 254)
HSLhsl(266, 98%, 77%)
HSVhsv(266, 46%, 100%)
CMYKcmyk(25.6%, 45.7%, 0%, 0.4%)
CIE-LABlab(66.64, 41.87, -50.76)
CIE-LCHlch(66.64, 65.80, 309.52°)
OKLaboklab(72.95% 0.0913 -0.1421)
OKLCHoklch(72.95% 0.169 302.7)
XYZxyz(47.9602, 36.1515, 98.1980)
Luminance0.3615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD8AFE #CBFE8A
analogous
#8A91FE #BD8AFE #F78AFE
triadic
#BD8AFE #FEBD8A #8AFEBD
tetradic
#BD8AFE #FE8A91 #CBFE8A #8AFEF7
square
#BD8AFE #FE8A91 #CBFE8A #8AFEF7
split-complementary
#BD8AFE #FEF78A #91FE8A
monochromatic
#7911FD #9B4DFD #BD8AFE #DFC7FF #EEE1FF

Accessibility & contrast

On white

2.55
#BD8AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#BD8AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD8AFE
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD8AFE#FFFFFF#000000##000000
##BD8AFE1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#76A2FB
Tritanopia (blue-blind)
#B19EB8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bd8afe;
/* rgb */ color: rgb(189, 138, 254);
/* oklch */ color: oklch(72.9% 0.169 302.7);
Tailwind
colors: {
  custom: {
    50: '#d3adff',
    500: '#bd8afe',
    950: '#000000',
  },
}
SCSS
$custom: #bd8afe;
$custom-light: #d3adff;
$custom-dark: #000000;
JSON
{
  "hex": "#bd8afe",
  "rgb": {
    "r": 189,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 266.379,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.72948,
    "c": 0.16896,
    "h": 302.7
  },
  "luminance": 0.36152
}

Semantic roles & 50–950 ramp

primary
#BD8AFE
secondary
#E8F7D4
accent
#E60081
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BD8AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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