#BD8DFC#BD8DFC

#BD8DFC is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.3% C 0.162 H 302.6°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#BD8DFC
RGBrgb(189, 141, 252)
HSLhsl(266, 95%, 77%)
HSVhsv(266, 44%, 99%)
CMYKcmyk(25%, 44%, 0%, 1.2%)
CIE-LABlab(67.20, 39.77, -48.77)
CIE-LCHlch(67.20, 62.93, 309.19°)
OKLaboklab(73.34% 0.0871 -0.1364)
OKLCHoklch(73.34% 0.162 302.6)
XYZxyz(48.0780, 36.8968, 96.6655)
Luminance0.3690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD8DFC #CCFC8D
analogous
#8D95FC #BD8DFC #F58DFC
triadic
#BD8DFC #FCBD8D #8DFCBD
tetradic
#BD8DFC #FC8D95 #CCFC8D #8DFCF5
square
#BD8DFC #FC8D95 #CCFC8D #8DFCF5
split-complementary
#BD8DFC #FCF58D #95FC8D
monochromatic
#7816F9 #9A51FA #BD8DFC #E0C9FE #EEE1FE

Accessibility & contrast

On white

2.51
#BD8DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#BD8DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD8DFC
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD8DFC#FFFFFF#000000##000000
##BD8DFC1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#7AA3F9
Tritanopia (blue-blind)
#B2A0B9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bd8dfc;
/* rgb */ color: rgb(189, 141, 252);
/* oklch */ color: oklch(73.3% 0.162 302.6);
Tailwind
colors: {
  custom: {
    50: '#d3affe',
    500: '#bd8dfc',
    950: '#000000',
  },
}
SCSS
$custom: #bd8dfc;
$custom-light: #d3affe;
$custom-dark: #000000;
JSON
{
  "hex": "#bd8dfc",
  "rgb": {
    "r": 189,
    "g": 141,
    "b": 252
  },
  "hsl": {
    "h": 265.946,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73339,
    "c": 0.1618,
    "h": 302.6
  },
  "luminance": 0.36897
}

Semantic roles & 50–950 ramp

primary
#BD8DFC
secondary
#E8F6D5
accent
#E60082
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BD8DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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