#BD8AFD#BD8AFD

#BD8AFD is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.9% C 0.168 H 302.9°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#BD8AFD
RGBrgb(189, 138, 253)
HSLhsl(267, 97%, 77%)
HSVhsv(267, 45%, 99%)
CMYKcmyk(25.3%, 45.5%, 0%, 0.8%)
CIE-LABlab(66.59, 41.64, -50.29)
CIE-LCHlch(66.59, 65.29, 309.63°)
OKLaboklab(72.9% 0.0912 -0.1408)
OKLCHoklch(72.9% 0.168 302.9)
XYZxyz(47.8005, 36.0877, 97.3568)
Luminance0.3609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD8AFD #CAFD8A
analogous
#8A91FD #BD8AFD #F78AFD
triadic
#BD8AFD #FDBD8A #8AFDBD
tetradic
#BD8AFD #FD8A91 #CAFD8A #8AFDF7
square
#BD8AFD #FD8A91 #CAFD8A #8AFDF7
split-complementary
#BD8AFD #FDF78A #91FD8A
monochromatic
#7912FB #9B4EFC #BD8AFD #DFC6FE #EEE1FE

Accessibility & contrast

On white

2.56
#BD8AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#BD8AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD8AFD
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD8AFD#FFFFFF#000000##000000
##BD8AFD1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#76A2FA
Tritanopia (blue-blind)
#B29EB8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bd8afd;
/* rgb */ color: rgb(189, 138, 253);
/* oklch */ color: oklch(72.9% 0.168 302.9);
Tailwind
colors: {
  custom: {
    50: '#d3adfe',
    500: '#bd8afd',
    950: '#000000',
  },
}
SCSS
$custom: #bd8afd;
$custom-light: #d3adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#bd8afd",
  "rgb": {
    "r": 189,
    "g": 138,
    "b": 253
  },
  "hsl": {
    "h": 266.609,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.72895,
    "c": 0.16774,
    "h": 302.9
  },
  "luminance": 0.36088
}

Semantic roles & 50–950 ramp

primary
#BD8AFD
secondary
#E7F7D4
accent
#E60080
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BD8AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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