#BD8DF8#BD8DF8

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

Color values

HEX#BD8DF8
RGBrgb(189, 141, 248)
HSLhsl(267, 88%, 76%)
HSVhsv(267, 43%, 97%)
CMYKcmyk(23.8%, 43.1%, 0%, 2.7%)
CIE-LABlab(67.01, 38.84, -46.88)
CIE-LCHlch(67.01, 60.88, 309.64°)
OKLaboklab(73.13% 0.0865 -0.1309)
OKLCHoklch(73.13% 0.157 303.4)
XYZxyz(47.4508, 36.6460, 93.3623)
Luminance0.3665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD8DF8 #C8F88D
analogous
#8D93F8 #BD8DF8 #F38DF8
triadic
#BD8DF8 #F8BD8D #8DF8BD
tetradic
#BD8DF8 #F88D93 #C8F88D #8DF8F3
square
#BD8DF8 #F88D93 #C8F88D #8DF8F3
split-complementary
#BD8DF8 #F8F38D #93F88D
monochromatic
#7A1AF1 #9C53F4 #BD8DF8 #DEC7FC #EEE2FD

Accessibility & contrast

On white

2.52
#BD8DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#BD8DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD8DF8
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD8DF8#FFFFFF#000000##000000
##BD8DF81.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FC
Deuteranopia (green-blind)
#7CA3F5
Tritanopia (blue-blind)
#B39FB7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bd8df8;
/* rgb */ color: rgb(189, 141, 248);
/* oklch */ color: oklch(73.1% 0.157 303.4);
Tailwind
colors: {
  custom: {
    50: '#d3affb',
    500: '#bd8df8',
    950: '#000000',
  },
}
SCSS
$custom: #bd8df8;
$custom-light: #d3affb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd8df8",
  "rgb": {
    "r": 189,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 266.916,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.73135,
    "c": 0.15687,
    "h": 303.4
  },
  "luminance": 0.36646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD8DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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