#BD7BF7#BD7BF7

#BD7BF7 is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.2% C 0.184 H 306.9°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#BD7BF7
RGBrgb(189, 123, 247)
HSLhsl(272, 89%, 73%)
HSVhsv(272, 50%, 97%)
CMYKcmyk(23.5%, 50.2%, 0%, 3.1%)
CIE-LABlab(63.09, 48.35, -52.52)
CIE-LCHlch(63.09, 71.39, 312.63°)
OKLaboklab(70.19% 0.1104 -0.1472)
OKLCHoklch(70.19% 0.184 306.9)
XYZxyz(44.8543, 31.7006, 91.7335)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7BF7 #B5F77B
analogous
#7F7BF7 #BD7BF7 #F77BF3
triadic
#BD7BF7 #F7BD7B #7BF7BD
tetradic
#BD7BF7 #F77F7B #B5F77B #7BF3F7
square
#BD7BF7 #F77F7B #B5F77B #7BF3F7
split-complementary
#BD7BF7 #F3F77B #7BF77F
monochromatic
#830EE9 #A041F4 #BD7BF7 #DAB5FA #F1E2FD

Accessibility & contrast

On white

2.86
#BD7BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#BD7BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7BF7
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7BF7#FFFFFF#000000##000000
##BD7BF71.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#6A99F4
Tritanopia (blue-blind)
#B491AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bd7bf7;
/* rgb */ color: rgb(189, 123, 247);
/* oklch */ color: oklch(70.2% 0.184 306.9);
Tailwind
colors: {
  custom: {
    50: '#d3a3fa',
    500: '#bd7bf7',
    950: '#000000',
  },
}
SCSS
$custom: #bd7bf7;
$custom-light: #d3a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7bf7",
  "rgb": {
    "r": 189,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 271.935,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70194,
    "c": 0.18402,
    "h": 306.9
  },
  "luminance": 0.317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD7BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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