#BD8DF7#BD8DF7

#BD8DF7 is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.1% C 0.156 H 303.7°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#BD8DF7
RGBrgb(189, 141, 247)
HSLhsl(267, 87%, 76%)
HSVhsv(267, 43%, 97%)
CMYKcmyk(23.5%, 42.9%, 0%, 3.1%)
CIE-LABlab(66.96, 38.61, -46.41)
CIE-LCHlch(66.96, 60.37, 309.76°)
OKLaboklab(73.08% 0.0863 -0.1295)
OKLCHoklch(73.08% 0.156 303.7)
XYZxyz(47.2961, 36.5841, 92.5474)
Luminance0.3658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD8DF7 #C7F78D
analogous
#8D92F7 #BD8DF7 #F28DF7
triadic
#BD8DF7 #F7BD8D #8DF7BD
tetradic
#BD8DF7 #F78D92 #C7F78D #8DF7F2
square
#BD8DF7 #F78D92 #C7F78D #8DF7F2
split-complementary
#BD8DF7 #F7F28D #92F78D
monochromatic
#7B1BEF #9C54F3 #BD8DF7 #DEC6FB #EEE2FD

Accessibility & contrast

On white

2.53
#BD8DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#BD8DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD8DF7
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD8DF7#FFFFFF#000000##000000
##BD8DF71.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FB
Deuteranopia (green-blind)
#7DA3F4
Tritanopia (blue-blind)
#B39FB6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bd8df7;
/* rgb */ color: rgb(189, 141, 247);
/* oklch */ color: oklch(73.1% 0.156 303.7);
Tailwind
colors: {
  custom: {
    50: '#d3affa',
    500: '#bd8df7',
    950: '#000000',
  },
}
SCSS
$custom: #bd8df7;
$custom-light: #d3affa;
$custom-dark: #000000;
JSON
{
  "hex": "#bd8df7",
  "rgb": {
    "r": 189,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 267.17,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73085,
    "c": 0.15563,
    "h": 303.7
  },
  "luminance": 0.36584
}

Semantic roles & 50–950 ramp

primary
#BD8DF7
secondary
#E7F5D6
accent
#E3027D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BD8DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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