#BD7AF8#BD7AF8

#BD7AF8 is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.1% C 0.187 H 306.8°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#BD7AF8
RGBrgb(189, 122, 248)
HSLhsl(272, 90%, 73%)
HSVhsv(272, 51%, 97%)
CMYKcmyk(23.8%, 50.8%, 0%, 2.7%)
CIE-LABlab(62.94, 49.11, -53.32)
CIE-LCHlch(62.94, 72.49, 312.64°)
OKLaboklab(70.1% 0.1118 -0.1496)
OKLCHoklch(70.1% 0.187 306.8)
XYZxyz(44.8856, 31.5156, 92.5072)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7AF8 #B5F87A
analogous
#7E7AF8 #BD7AF8 #F87AF4
triadic
#BD7AF8 #F8BD7A #7AF8BD
tetradic
#BD7AF8 #F87E7A #B5F87A #7AF4F8
square
#BD7AF8 #F87E7A #B5F87A #7AF4F8
split-complementary
#BD7AF8 #F4F87A #7AF87E
monochromatic
#830CEB #A040F5 #BD7AF8 #DAB4FB #F1E2FD

Accessibility & contrast

On white

2.88
#BD7AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#BD7AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7AF8
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7AF8#FFFFFF#000000##000000
##BD7AF81.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FC
Deuteranopia (green-blind)
#6999F5
Tritanopia (blue-blind)
#B490AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bd7af8;
/* rgb */ color: rgb(189, 122, 248);
/* oklch */ color: oklch(70.1% 0.187 306.8);
Tailwind
colors: {
  custom: {
    50: '#d4a2fb',
    500: '#bd7af8',
    950: '#000000',
  },
}
SCSS
$custom: #bd7af8;
$custom-light: #d4a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7af8",
  "rgb": {
    "r": 189,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 271.905,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70097,
    "c": 0.18671,
    "h": 306.8
  },
  "luminance": 0.31515
}

Semantic roles & 50–950 ramp

primary
#BD7AF8
secondary
#E4F6D5
accent
#E6006B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD7AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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