#BD8CF8#BD8CF8

#BD8CF8 is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.0% C 0.158 H 303.7°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#BD8CF8
RGBrgb(189, 140, 248)
HSLhsl(267, 89%, 76%)
HSVhsv(267, 44%, 97%)
CMYKcmyk(23.8%, 43.5%, 0%, 2.7%)
CIE-LABlab(66.79, 39.39, -47.23)
CIE-LCHlch(66.79, 61.50, 309.83°)
OKLaboklab(72.97% 0.0878 -0.1319)
OKLCHoklch(72.97% 0.158 303.7)
XYZxyz(47.3040, 36.3524, 93.3134)
Luminance0.3635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD8CF8 #C7F88C
analogous
#8C91F8 #BD8CF8 #F38CF8
triadic
#BD8CF8 #F8BD8C #8CF8BD
tetradic
#BD8CF8 #F88C91 #C7F88C #8CF8F3
square
#BD8CF8 #F88C91 #C7F88C #8CF8F3
split-complementary
#BD8CF8 #F8F38C #91F88C
monochromatic
#7B19F1 #9C52F4 #BD8CF8 #DEC6FC #EEE2FD

Accessibility & contrast

On white

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

On black

8.27
#BD8CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD8CF8
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD8CF8#FFFFFF#000000##000000
##BD8CF81.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FC
Deuteranopia (green-blind)
#7BA2F5
Tritanopia (blue-blind)
#B39EB6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bd8cf8;
/* rgb */ color: rgb(189, 140, 248);
/* oklch */ color: oklch(73.0% 0.158 303.7);
Tailwind
colors: {
  custom: {
    50: '#d3aefb',
    500: '#bd8cf8',
    950: '#000000',
  },
}
SCSS
$custom: #bd8cf8;
$custom-light: #d3aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd8cf8",
  "rgb": {
    "r": 189,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 267.222,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72968,
    "c": 0.15846,
    "h": 303.7
  },
  "luminance": 0.36352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD8CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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