#BD7EFE#BD7EFE

#BD7EFE is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.0% C 0.188 H 304.8°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#BD7EFE
RGBrgb(189, 126, 254)
HSLhsl(270, 98%, 75%)
HSVhsv(270, 50%, 100%)
CMYKcmyk(25.6%, 50.4%, 0%, 0.4%)
CIE-LABlab(64.08, 48.35, -54.81)
CIE-LCHlch(64.08, 73.09, 311.42°)
OKLaboklab(71.04% 0.1071 -0.1539)
OKLCHoklch(71.04% 0.188 304.8)
XYZxyz(46.3327, 32.8965, 97.6555)
Luminance0.3290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7EFE #BFFE7E
analogous
#7E7FFE #BD7EFE #FD7EFE
triadic
#BD7EFE #FEBD7E #7EFEBD
tetradic
#BD7EFE #FE7E7F #BFFE7E #7EFEFD
square
#BD7EFE #FE7E7F #BFFE7E #7EFEFD
split-complementary
#BD7EFE #FEFD7E #7FFE7E
monochromatic
#7F05FD #9E41FE #BD7EFE #DCBBFE #EFE1FF

Accessibility & contrast

On white

2.77
#BD7EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#BD7EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7EFE
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7EFE#FFFFFF#000000##000000
##BD7EFE1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#699BFB
Tritanopia (blue-blind)
#B295B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bd7efe;
/* rgb */ color: rgb(189, 126, 254);
/* oklch */ color: oklch(71.0% 0.188 304.8);
Tailwind
colors: {
  custom: {
    50: '#d4a5ff',
    500: '#bd7efe',
    950: '#000000',
  },
}
SCSS
$custom: #bd7efe;
$custom-light: #d4a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7efe",
  "rgb": {
    "r": 189,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 269.531,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7104,
    "c": 0.18751,
    "h": 304.8
  },
  "luminance": 0.32896
}

Semantic roles & 50–950 ramp

primary
#BD7EFE
secondary
#E6F7D4
accent
#E60075
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BD7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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