#BC7AF7#BC7AF7

#BC7AF7 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.9% C 0.185 H 306.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#BC7AF7
RGBrgb(188, 122, 247)
HSLhsl(272, 89%, 72%)
HSVhsv(272, 51%, 97%)
CMYKcmyk(23.9%, 50.6%, 0%, 3.1%)
CIE-LABlab(62.78, 48.62, -53.03)
CIE-LCHlch(62.78, 71.95, 312.52°)
OKLaboklab(69.94% 0.1105 -0.1487)
OKLCHoklch(69.94% 0.185 306.6)
XYZxyz(44.4836, 31.3262, 91.6808)
Luminance0.3133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7AF7 #B5F77A
analogous
#7E7AF7 #BC7AF7 #F77AF3
triadic
#BC7AF7 #F7BC7A #7AF7BC
tetradic
#BC7AF7 #F77E7A #B5F77A #7AF3F7
square
#BC7AF7 #F77E7A #B5F77A #7AF3F7
split-complementary
#BC7AF7 #F3F77A #7AF77E
monochromatic
#810EE9 #9F40F4 #BC7AF7 #D9B4FA #F0E2FD

Accessibility & contrast

On white

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

On black

7.27
#BC7AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7AF7
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7AF7#FFFFFF#000000##000000
##BC7AF71.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FB
Deuteranopia (green-blind)
#6998F4
Tritanopia (blue-blind)
#B390AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bc7af7;
/* rgb */ color: rgb(188, 122, 247);
/* oklch */ color: oklch(69.9% 0.185 306.6);
Tailwind
colors: {
  custom: {
    50: '#d3a2fa',
    500: '#bc7af7',
    950: '#000000',
  },
}
SCSS
$custom: #bc7af7;
$custom-light: #d3a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7af7",
  "rgb": {
    "r": 188,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 271.68,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69938,
    "c": 0.18528,
    "h": 306.6
  },
  "luminance": 0.31326
}

Semantic roles & 50–950 ramp

primary
#BC7AF7
secondary
#E5F5D6
accent
#E5006C
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BC7AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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