#BC7AF8#BC7AF8

#BC7AF8 is a light, vivid violet. Relative luminance 0.314; OKLCH L 70.0% C 0.186 H 306.4°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#BC7AF8
RGBrgb(188, 122, 248)
HSLhsl(271, 90%, 73%)
HSVhsv(271, 51%, 97%)
CMYKcmyk(24.2%, 50.8%, 0%, 2.7%)
CIE-LABlab(62.83, 48.85, -53.50)
CIE-LCHlch(62.83, 72.44, 312.40°)
OKLaboklab(69.99% 0.1106 -0.1501)
OKLCHoklch(69.99% 0.186 306.4)
XYZxyz(44.6384, 31.3881, 92.4957)
Luminance0.3139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7AF8 #B6F87A
analogous
#7D7AF8 #BC7AF8 #F87AF5
triadic
#BC7AF8 #F8BC7A #7AF8BC
tetradic
#BC7AF8 #F87D7A #B6F87A #7AF5F8
square
#BC7AF8 #F87D7A #B6F87A #7AF5F8
split-complementary
#BC7AF8 #F5F87A #7AF87D
monochromatic
#810CEB #9F40F5 #BC7AF8 #D9B4FB #F0E2FD

Accessibility & contrast

On white

2.89
#BC7AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#BC7AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7AF8
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7AF8#FFFFFF#000000##000000
##BC7AF81.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5496FC
Deuteranopia (green-blind)
#6898F5
Tritanopia (blue-blind)
#B390AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bc7af8;
/* rgb */ color: rgb(188, 122, 248);
/* oklch */ color: oklch(70.0% 0.186 306.4);
Tailwind
colors: {
  custom: {
    50: '#d3a2fb',
    500: '#bc7af8',
    950: '#000000',
  },
}
SCSS
$custom: #bc7af8;
$custom-light: #d3a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7af8",
  "rgb": {
    "r": 188,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 271.429,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69994,
    "c": 0.18643,
    "h": 306.4
  },
  "luminance": 0.31388
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC7AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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