#BD7FFE#BD7FFE

#BD7FFE is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.2% C 0.186 H 304.7°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#BD7FFE
RGBrgb(189, 127, 254)
HSLhsl(269, 98%, 75%)
HSVhsv(269, 50%, 100%)
CMYKcmyk(25.6%, 50%, 0%, 0.4%)
CIE-LABlab(64.28, 47.81, -54.48)
CIE-LCHlch(64.28, 72.49, 311.27°)
OKLaboklab(71.19% 0.1058 -0.153)
OKLCHoklch(71.19% 0.186 304.7)
XYZxyz(46.4612, 33.1535, 97.6983)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7FFE #C0FE7F
analogous
#7F81FE #BD7FFE #FC7FFE
triadic
#BD7FFE #FEBD7F #7FFEBD
tetradic
#BD7FFE #FE7F81 #C0FE7F #7FFEFC
square
#BD7FFE #FE7F81 #C0FE7F #7FFEFC
split-complementary
#BD7FFE #FEFC7F #81FE7F
monochromatic
#7E06FD #9E42FE #BD7FFE #DCBCFE #EFE1FF

Accessibility & contrast

On white

2.75
#BD7FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#BD7FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7FFE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7FFE#FFFFFF#000000##000000
##BD7FFE1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#B296B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bd7ffe;
/* rgb */ color: rgb(189, 127, 254);
/* oklch */ color: oklch(71.2% 0.186 304.7);
Tailwind
colors: {
  custom: {
    50: '#d4a6ff',
    500: '#bd7ffe',
    950: '#000000',
  },
}
SCSS
$custom: #bd7ffe;
$custom-light: #d4a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7ffe",
  "rgb": {
    "r": 189,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 269.291,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71195,
    "c": 0.18598,
    "h": 304.7
  },
  "luminance": 0.33153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD7FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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