#BD8DF2#BD8DF2

#BD8DF2 is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.8% C 0.149 H 304.9°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#BD8DF2
RGBrgb(189, 141, 242)
HSLhsl(269, 80%, 75%)
HSVhsv(269, 42%, 95%)
CMYKcmyk(21.9%, 41.7%, 0%, 5.1%)
CIE-LABlab(66.73, 37.47, -44.03)
CIE-LCHlch(66.73, 57.82, 310.40°)
OKLaboklab(72.84% 0.0855 -0.1226)
OKLCHoklch(72.84% 0.149 304.9)
XYZxyz(46.5348, 36.2796, 88.5383)
Luminance0.3628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD8DF2 #C2F28D
analogous
#8D8FF2 #BD8DF2 #F08DF2
triadic
#BD8DF2 #F2BD8D #8DF2BD
tetradic
#BD8DF2 #F28D8F #C2F28D #8DF2F0
square
#BD8DF2 #F28D8F #C2F28D #8DF2F0
split-complementary
#BD8DF2 #F2F08D #8FF28D
monochromatic
#7D1FE5 #9D56EC #BD8DF2 #DDC4F8 #EFE4FC

Accessibility & contrast

On white

2.54
#BD8DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#BD8DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD8DF2
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD8DF2#FFFFFF#000000##000000
##BD8DF21.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#B59DB4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bd8df2;
/* rgb */ color: rgb(189, 141, 242);
/* oklch */ color: oklch(72.8% 0.149 304.9);
Tailwind
colors: {
  custom: {
    50: '#d2aff7',
    500: '#bd8df2',
    950: '#000000',
  },
}
SCSS
$custom: #bd8df2;
$custom-light: #d2aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd8df2",
  "rgb": {
    "r": 189,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 268.515,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72836,
    "c": 0.14948,
    "h": 304.9
  },
  "luminance": 0.36279
}

Semantic roles & 50–950 ramp

primary
#BD8DF2
secondary
#E6F4D7
accent
#DC0A78
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#141017
muted
#837F85

Preview Lab

Preview with #BD8DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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