#BC7AF9#BC7AF9

#BC7AF9 is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.0% C 0.188 H 306.1°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#BC7AF9
RGBrgb(188, 122, 249)
HSLhsl(271, 91%, 73%)
HSVhsv(271, 51%, 98%)
CMYKcmyk(24.5%, 51%, 0%, 2.4%)
CIE-LABlab(62.89, 49.08, -53.96)
CIE-LCHlch(62.89, 72.94, 312.28°)
OKLaboklab(70.05% 0.1106 -0.1515)
OKLCHoklch(70.05% 0.188 306.1)
XYZxyz(44.7939, 31.4504, 93.3149)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7AF9 #B7F97A
analogous
#7C7AF9 #BC7AF9 #F97AF7
triadic
#BC7AF9 #F9BC7A #7AF9BC
tetradic
#BC7AF9 #F97C7A #B7F97A #7AF7F9
square
#BC7AF9 #F97C7A #B7F97A #7AF7F9
split-complementary
#BC7AF9 #F7F97A #7AF97C
monochromatic
#810BEE #9F3FF6 #BC7AF9 #D9B5FC #F0E2FE

Accessibility & contrast

On white

2.88
#BC7AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#BC7AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7AF9
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7AF9#FFFFFF#000000##000000
##BC7AF91.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FD
Deuteranopia (green-blind)
#6799F6
Tritanopia (blue-blind)
#B291AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bc7af9;
/* rgb */ color: rgb(188, 122, 249);
/* oklch */ color: oklch(70.0% 0.188 306.1);
Tailwind
colors: {
  custom: {
    50: '#d3a2fc',
    500: '#bc7af9',
    950: '#000000',
  },
}
SCSS
$custom: #bc7af9;
$custom-light: #d3a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7af9",
  "rgb": {
    "r": 188,
    "g": 122,
    "b": 249
  },
  "hsl": {
    "h": 271.181,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70049,
    "c": 0.18757,
    "h": 306.1
  },
  "luminance": 0.3145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC7AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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