#BD7CF8#BD7CF8

#BD7CF8 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.4% C 0.184 H 306.5°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#BD7CF8
RGBrgb(189, 124, 248)
HSLhsl(271, 90%, 73%)
HSVhsv(271, 50%, 97%)
CMYKcmyk(23.8%, 50%, 0%, 2.7%)
CIE-LABlab(63.35, 48.05, -52.67)
CIE-LCHlch(63.35, 71.29, 312.37°)
OKLaboklab(70.4% 0.1092 -0.1477)
OKLCHoklch(70.4% 0.184 306.5)
XYZxyz(45.1337, 32.0118, 92.5899)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7CF8 #B7F87C
analogous
#7F7CF8 #BD7CF8 #F87CF5
triadic
#BD7CF8 #F8BD7C #7CF8BD
tetradic
#BD7CF8 #F87F7C #B7F87C #7CF5F8
square
#BD7CF8 #F87F7C #B7F87C #7CF5F8
split-complementary
#BD7CF8 #F5F87C #7CF87F
monochromatic
#820DED #A042F5 #BD7CF8 #DAB6FB #F0E2FD

Accessibility & contrast

On white

2.84
#BD7CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#BD7CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7CF8
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7CF8#FFFFFF#000000##000000
##BD7CF81.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FC
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#B492AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bd7cf8;
/* rgb */ color: rgb(189, 124, 248);
/* oklch */ color: oklch(70.4% 0.184 306.5);
Tailwind
colors: {
  custom: {
    50: '#d3a3fb',
    500: '#bd7cf8',
    950: '#000000',
  },
}
SCSS
$custom: #bd7cf8;
$custom-light: #d3a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7cf8",
  "rgb": {
    "r": 189,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 271.452,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70402,
    "c": 0.18363,
    "h": 306.5
  },
  "luminance": 0.32011
}

Semantic roles & 50–950 ramp

primary
#BD7CF8
secondary
#E5F6D5
accent
#E6006D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD7CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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