#BC7DF8#BC7DF8

#BC7DF8 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.5% C 0.182 H 305.9°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#BC7DF8
RGBrgb(188, 125, 248)
HSLhsl(271, 90%, 73%)
HSVhsv(271, 50%, 97%)
CMYKcmyk(24.2%, 49.6%, 0%, 2.7%)
CIE-LABlab(63.46, 47.25, -52.51)
CIE-LCHlch(63.46, 70.64, 311.98°)
OKLaboklab(70.46% 0.1066 -0.1472)
OKLCHoklch(70.46% 0.182 305.9)
XYZxyz(45.0124, 32.1362, 92.6203)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7DF8 #B9F87D
analogous
#7E7DF8 #BC7DF8 #F87DF6
triadic
#BC7DF8 #F8BC7D #7DF8BC
tetradic
#BC7DF8 #F87E7D #B9F87D #7DF6F8
square
#BC7DF8 #F87E7D #B9F87D #7DF6F8
split-complementary
#BC7DF8 #F6F87D #7DF87E
monochromatic
#800DEE #9E43F5 #BC7DF8 #DAB7FB #F0E2FD

Accessibility & contrast

On white

2.83
#BC7DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#BC7DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7DF8
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7DF8#FFFFFF#000000##000000
##BC7DF81.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FC
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#B293AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bc7df8;
/* rgb */ color: rgb(188, 125, 248);
/* oklch */ color: oklch(70.5% 0.182 305.9);
Tailwind
colors: {
  custom: {
    50: '#d3a4fb',
    500: '#bc7df8',
    950: '#000000',
  },
}
SCSS
$custom: #bc7df8;
$custom-light: #d3a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7df8",
  "rgb": {
    "r": 188,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 270.732,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70455,
    "c": 0.1818,
    "h": 305.9
  },
  "luminance": 0.32136
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC7DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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