#BD6AFE#BD6AFE

#BD6AFE is a light, highly saturated violet. Relative luminance 0.283; OKLCH L 68.1% C 0.217 H 307.5°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#BD6AFE
RGBrgb(189, 106, 254)
HSLhsl(274, 99%, 71%)
HSVhsv(274, 58%, 100%)
CMYKcmyk(25.6%, 58.3%, 0%, 0.4%)
CIE-LABlab(60.14, 58.66, -61.09)
CIE-LCHlch(60.14, 84.69, 313.84°)
OKLaboklab(68.15% 0.132 -0.1722)
OKLCHoklch(68.15% 0.217 307.5)
XYZxyz(44.0260, 28.2832, 96.8866)
Luminance0.2828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD6AFE #ABFE6A
analogous
#736AFE #BD6AFE #FE6AF5
triadic
#BD6AFE #FEBD6A #6AFEBD
tetradic
#BD6AFE #FE736A #ABFE6A #6AF5FE
square
#BD6AFE #FE736A #ABFE6A #6AF5FE
split-complementary
#BD6AFE #F5FE6A #6AFE73
monochromatic
#8502EC #A22DFE #BD6AFE #D8A7FE #F2E1FF

Accessibility & contrast

On white

3.15
#BD6AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#BD6AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD6AFE
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD6AFE#FFFFFF#000000##000000
##BD6AFE1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8EFF
Deuteranopia (green-blind)
#5292FB
Tritanopia (blue-blind)
#B387AA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #bd6afe;
/* rgb */ color: rgb(189, 106, 254);
/* oklch */ color: oklch(68.1% 0.217 307.5);
Tailwind
colors: {
  custom: {
    50: '#d598ff',
    500: '#bd6afe',
    950: '#000000',
  },
}
SCSS
$custom: #bd6afe;
$custom-light: #d598ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bd6afe",
  "rgb": {
    "r": 189,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 273.649,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68146,
    "c": 0.21702,
    "h": 307.5
  },
  "luminance": 0.28283
}

Semantic roles & 50–950 ramp

primary
#BD6AFE
secondary
#DFF6CE
accent
#E60065
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #BD6AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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