#BD7AEB#BD7AEB

#BD7AEB is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.4% C 0.172 H 310.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#BD7AEB
RGBrgb(189, 122, 235)
HSLhsl(276, 74%, 70%)
HSVhsv(276, 48%, 92%)
CMYKcmyk(19.6%, 48.1%, 0%, 7.8%)
CIE-LABlab(62.28, 46.22, -47.17)
CIE-LCHlch(62.28, 66.04, 314.41°)
OKLaboklab(69.4% 0.1105 -0.1317)
OKLCHoklch(69.4% 0.172 310)
XYZxyz(42.9384, 30.7367, 82.2520)
Luminance0.3074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7AEB #A8EB7A
analogous
#847AEB #BD7AEB #EB7AE1
triadic
#BD7AEB #EBBD7A #7AEBBD
tetradic
#BD7AEB #EB847A #A8EB7A #7AE1EB
square
#BD7AEB #EB847A #A8EB7A #7AE1EB
split-complementary
#BD7AEB #E1EB7A #7AEB84
monochromatic
#851FCC #A345E3 #BD7AEB #D7AFF3 #F2E4FB

Accessibility & contrast

On white

2.94
#BD7AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#BD7AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7AEB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7AEB#FFFFFF#000000##000000
##BD7AEB1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EF
Deuteranopia (green-blind)
#7198E8
Tritanopia (blue-blind)
#B78CA8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bd7aeb;
/* rgb */ color: rgb(189, 122, 235);
/* oklch */ color: oklch(69.4% 0.172 310.0);
Tailwind
colors: {
  custom: {
    50: '#d3a2f2',
    500: '#bd7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #bd7aeb;
$custom-light: #d3a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7aeb",
  "rgb": {
    "r": 189,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 275.575,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.69397,
    "c": 0.17186,
    "h": 310
  },
  "luminance": 0.30736
}

Semantic roles & 50–950 ramp

primary
#BD7AEB
secondary
#DDF0D1
accent
#D61060
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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