#BD7FFC#BD7FFC

#BD7FFC is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.1% C 0.184 H 305.1°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#BD7FFC
RGBrgb(189, 127, 252)
HSLhsl(270, 95%, 74%)
HSVhsv(270, 50%, 99%)
CMYKcmyk(25%, 49.6%, 0%, 1.2%)
CIE-LABlab(64.18, 47.36, -53.55)
CIE-LCHlch(64.18, 71.48, 311.49°)
OKLaboklab(71.08% 0.1056 -0.1502)
OKLCHoklch(71.08% 0.184 305.1)
XYZxyz(46.1426, 33.0261, 96.0204)
Luminance0.3303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7FFC #BEFC7F
analogous
#7F80FC #BD7FFC #FC7FFC
triadic
#BD7FFC #FCBD7F #7FFCBD
tetradic
#BD7FFC #FC7F80 #BEFC7F #7FFCFC
square
#BD7FFC #FC7F80 #BEFC7F #7FFCFC
split-complementary
#BD7FFC #FCFC7F #80FC7F
monochromatic
#7F07F9 #9E43FB #BD7FFC #DCBBFD #F0E1FE

Accessibility & contrast

On white

2.76
#BD7FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#BD7FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7FFC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7FFC#FFFFFF#000000##000000
##BD7FFC1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#6B9CF9
Tritanopia (blue-blind)
#B395B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bd7ffc;
/* rgb */ color: rgb(189, 127, 252);
/* oklch */ color: oklch(71.1% 0.184 305.1);
Tailwind
colors: {
  custom: {
    50: '#d3a6fe',
    500: '#bd7ffc',
    950: '#000000',
  },
}
SCSS
$custom: #bd7ffc;
$custom-light: #d3a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7ffc",
  "rgb": {
    "r": 189,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 269.76,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71085,
    "c": 0.18365,
    "h": 305.1
  },
  "luminance": 0.33026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD7FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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