#BD7AFA#BD7AFA

#BD7AFA is a light, vivid violet. Relative luminance 0.316; OKLCH L 70.2% C 0.189 H 306.3°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#BD7AFA
RGBrgb(189, 122, 250)
HSLhsl(271, 93%, 73%)
HSVhsv(271, 51%, 98%)
CMYKcmyk(24.4%, 51.2%, 0%, 2%)
CIE-LABlab(63.04, 49.56, -54.26)
CIE-LCHlch(63.04, 73.48, 312.41°)
OKLaboklab(70.21% 0.1119 -0.1523)
OKLCHoklch(70.21% 0.189 306.3)
XYZxyz(45.1975, 31.6404, 94.1501)
Luminance0.3164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7AFA #B7FA7A
analogous
#7D7AFA #BD7AFA #FA7AF7
triadic
#BD7AFA #FABD7A #7AFABD
tetradic
#BD7AFA #FA7D7A #B7FA7A #7AF7FA
square
#BD7AFA #FA7D7A #B7FA7A #7AF7FA
split-complementary
#BD7AFA #F7FA7A #7AFA7D
monochromatic
#8209F1 #A03FF8 #BD7AFA #DAB5FC #F0E2FE

Accessibility & contrast

On white

2.87
#BD7AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#BD7AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7AFA
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7AFA#FFFFFF#000000##000000
##BD7AFA1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FE
Deuteranopia (green-blind)
#6799F7
Tritanopia (blue-blind)
#B391AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bd7afa;
/* rgb */ color: rgb(189, 122, 250);
/* oklch */ color: oklch(70.2% 0.189 306.3);
Tailwind
colors: {
  custom: {
    50: '#d4a2fc',
    500: '#bd7afa',
    950: '#000000',
  },
}
SCSS
$custom: #bd7afa;
$custom-light: #d4a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7afa",
  "rgb": {
    "r": 189,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 271.406,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70208,
    "c": 0.189,
    "h": 306.3
  },
  "luminance": 0.3164
}

Semantic roles & 50–950 ramp

primary
#BD7AFA
secondary
#E5F6D5
accent
#E6006D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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