#BD7EF7#BD7EF7

#BD7EF7 is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.7% C 0.179 H 306.4°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#BD7EF7
RGBrgb(189, 126, 247)
HSLhsl(271, 88%, 73%)
HSVhsv(271, 49%, 97%)
CMYKcmyk(23.5%, 49%, 0%, 3.1%)
CIE-LABlab(63.72, 46.75, -51.54)
CIE-LCHlch(63.72, 69.58, 312.21°)
OKLaboklab(70.66% 0.1064 -0.1444)
OKLCHoklch(70.66% 0.179 306.4)
XYZxyz(45.2322, 32.4563, 91.8595)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7EF7 #B8F77E
analogous
#807EF7 #BD7EF7 #F77EF4
triadic
#BD7EF7 #F7BD7E #7EF7BD
tetradic
#BD7EF7 #F7807E #B8F77E #7EF4F7
square
#BD7EF7 #F7807E #B8F77E #7EF4F7
split-complementary
#BD7EF7 #F4F77E #7EF780
monochromatic
#820FEC #A044F3 #BD7EF7 #DAB8FB #F0E2FD

Accessibility & contrast

On white

2.80
#BD7EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#BD7EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7EF7
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7EF7#FFFFFF#000000##000000
##BD7EF71.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FB
Deuteranopia (green-blind)
#6E9BF4
Tritanopia (blue-blind)
#B493AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bd7ef7;
/* rgb */ color: rgb(189, 126, 247);
/* oklch */ color: oklch(70.7% 0.179 306.4);
Tailwind
colors: {
  custom: {
    50: '#d3a5fa',
    500: '#bd7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #bd7ef7;
$custom-light: #d3a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7ef7",
  "rgb": {
    "r": 189,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 271.24,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70657,
    "c": 0.17936,
    "h": 306.4
  },
  "luminance": 0.32456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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