#BD8AFF#BD8AFF

#BD8AFF is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.0% C 0.170 H 302.5°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#BD8AFF
RGBrgb(189, 138, 255)
HSLhsl(266, 100%, 77%)
HSVhsv(266, 46%, 100%)
CMYKcmyk(25.9%, 45.9%, 0%, 0%)
CIE-LABlab(66.68, 42.11, -51.22)
CIE-LCHlch(66.68, 66.31, 309.42°)
OKLaboklab(73% 0.0915 -0.1435)
OKLCHoklch(73% 0.17 302.5)
XYZxyz(48.1208, 36.2158, 99.0436)
Luminance0.3622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD8AFF #CCFF8A
analogous
#8A92FF #BD8AFF #F88AFF
triadic
#BD8AFF #FFBD8A #8AFFBD
tetradic
#BD8AFF #FF8A92 #CCFF8A #8AFFF8
square
#BD8AFF #FF8A92 #CCFF8A #8AFFF8
split-complementary
#BD8AFF #FFF88A #92FF8A
monochromatic
#7810FF #9A4DFF #BD8AFF #E0C7FF #EEE0FF

Accessibility & contrast

On white

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

On black

8.24
#BD8AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD8AFF
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD8AFF#FFFFFF#000000##000000
##BD8AFF1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bd8aff;
/* rgb */ color: rgb(189, 138, 255);
/* oklch */ color: oklch(73.0% 0.170 302.5);
Tailwind
colors: {
  custom: {
    50: '#d3adff',
    500: '#bd8aff',
    950: '#000000',
  },
}
SCSS
$custom: #bd8aff;
$custom-light: #d3adff;
$custom-dark: #000000;
JSON
{
  "hex": "#bd8aff",
  "rgb": {
    "r": 189,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 266.154,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73,
    "c": 0.17017,
    "h": 302.5
  },
  "luminance": 0.36216
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD8AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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