#BD7DF7#BD7DF7

#BD7DF7 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.5% C 0.181 H 306.5°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#BD7DF7
RGBrgb(189, 125, 247)
HSLhsl(271, 88%, 73%)
HSVhsv(271, 49%, 97%)
CMYKcmyk(23.5%, 49.4%, 0%, 3.1%)
CIE-LABlab(63.51, 47.29, -51.87)
CIE-LCHlch(63.51, 70.19, 312.36°)
OKLaboklab(70.5% 0.1077 -0.1453)
OKLCHoklch(70.5% 0.181 306.5)
XYZxyz(45.1049, 32.2019, 91.8171)
Luminance0.3220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7DF7 #B7F77D
analogous
#807DF7 #BD7DF7 #F77DF4
triadic
#BD7DF7 #F7BD7D #7DF7BD
tetradic
#BD7DF7 #F7807D #B7F77D #7DF4F7
square
#BD7DF7 #F7807D #B7F77D #7DF4F7
split-complementary
#BD7DF7 #F4F77D #7DF780
monochromatic
#820EEB #A043F3 #BD7DF7 #DAB7FB #F0E2FD

Accessibility & contrast

On white

2.82
#BD7DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#BD7DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7DF7
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7DF7#FFFFFF#000000##000000
##BD7DF71.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FB
Deuteranopia (green-blind)
#6C9AF4
Tritanopia (blue-blind)
#B492AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bd7df7;
/* rgb */ color: rgb(189, 125, 247);
/* oklch */ color: oklch(70.5% 0.181 306.5);
Tailwind
colors: {
  custom: {
    50: '#d3a4fa',
    500: '#bd7df7',
    950: '#000000',
  },
}
SCSS
$custom: #bd7df7;
$custom-light: #d3a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7df7",
  "rgb": {
    "r": 189,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 271.475,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70502,
    "c": 0.18092,
    "h": 306.5
  },
  "luminance": 0.32201
}

Semantic roles & 50–950 ramp

primary
#BD7DF7
secondary
#E5F5D6
accent
#E5006D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD7DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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