#BD7AF7#BD7AF7

#BD7AF7 is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.0% C 0.186 H 307.0°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#BD7AF7
RGBrgb(189, 122, 247)
HSLhsl(272, 89%, 72%)
HSVhsv(272, 51%, 97%)
CMYKcmyk(23.5%, 50.6%, 0%, 3.1%)
CIE-LABlab(62.89, 48.88, -52.85)
CIE-LCHlch(62.89, 71.99, 312.77°)
OKLaboklab(70.04% 0.1117 -0.1482)
OKLCHoklch(70.04% 0.186 307)
XYZxyz(44.7309, 31.4537, 91.6924)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7AF7 #B4F77A
analogous
#7F7AF7 #BD7AF7 #F77AF2
triadic
#BD7AF7 #F7BD7A #7AF7BD
tetradic
#BD7AF7 #F77F7A #B4F77A #7AF2F7
square
#BD7AF7 #F77F7A #B4F77A #7AF2F7
split-complementary
#BD7AF7 #F2F77A #7AF77F
monochromatic
#830EE9 #A040F4 #BD7AF7 #DAB4FA #F1E2FD

Accessibility & contrast

On white

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

On black

7.29
#BD7AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7AF7
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7AF7#FFFFFF#000000##000000
##BD7AF71.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FB
Deuteranopia (green-blind)
#6999F4
Tritanopia (blue-blind)
#B490AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bd7af7;
/* rgb */ color: rgb(189, 122, 247);
/* oklch */ color: oklch(70.0% 0.186 307.0);
Tailwind
colors: {
  custom: {
    50: '#d3a2fa',
    500: '#bd7af7',
    950: '#000000',
  },
}
SCSS
$custom: #bd7af7;
$custom-light: #d3a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7af7",
  "rgb": {
    "r": 189,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 272.16,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70042,
    "c": 0.18557,
    "h": 307
  },
  "luminance": 0.31453
}

Semantic roles & 50–950 ramp

primary
#BD7AF7
secondary
#E4F5D6
accent
#E5006B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD7AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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