#BD9AFE#BD9AFE

#BD9AFE is a light, vivid violet. Relative luminance 0.411; OKLCH L 75.7% C 0.144 H 299.1°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#BD9AFE
RGBrgb(189, 154, 254)
HSLhsl(261, 98%, 80%)
HSVhsv(261, 39%, 100%)
CMYKcmyk(25.6%, 39.4%, 0%, 0.4%)
CIE-LABlab(70.24, 33.07, -45.09)
CIE-LCHlch(70.24, 55.91, 306.26°)
OKLaboklab(75.66% 0.0699 -0.1257)
OKLCHoklch(75.66% 0.144 299.1)
XYZxyz(50.4272, 41.0855, 99.0203)
Luminance0.4109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9AFE #DBFE9A
analogous
#9AA9FE #BD9AFE #EF9AFE
triadic
#BD9AFE #FEBD9A #9AFEBD
tetradic
#BD9AFE #FE9AA9 #DBFE9A #9AFEEF
square
#BD9AFE #FE9AA9 #DBFE9A #9AFEEF
split-complementary
#BD9AFE #FEEF9A #A9FE9A
monochromatic
#6E21FD #955DFD #BD9AFE #E5D7FF #EBE1FF

Accessibility & contrast

On white

2.28
#BD9AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#BD9AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9AFE
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9AFE#FFFFFF#000000##000000
##BD9AFE1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ACFF
Deuteranopia (green-blind)
#86ABFB
Tritanopia (blue-blind)
#B1ABC0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bd9afe;
/* rgb */ color: rgb(189, 154, 254);
/* oklch */ color: oklch(75.7% 0.144 299.1);
Tailwind
colors: {
  custom: {
    50: '#d3b8ff',
    500: '#bd9afe',
    950: '#000000',
  },
}
SCSS
$custom: #bd9afe;
$custom-light: #d3b8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9afe",
  "rgb": {
    "r": 189,
    "g": 154,
    "b": 254
  },
  "hsl": {
    "h": 261,
    "s": 98.039,
    "l": 80
  },
  "oklch": {
    "l": 0.7566,
    "c": 0.14383,
    "h": 299.1
  },
  "luminance": 0.41086
}

Semantic roles & 50–950 ramp

primary
#BD9AFE
secondary
#EBF7D4
accent
#E60095
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BD9AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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