#BC7AFC#BC7AFC

#BC7AFC is a light, vivid violet. Relative luminance 0.316; OKLCH L 70.2% C 0.191 H 305.5°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#BC7AFC
RGBrgb(188, 122, 252)
HSLhsl(270, 96%, 73%)
HSVhsv(270, 52%, 99%)
CMYKcmyk(25.4%, 51.6%, 0%, 1.2%)
CIE-LABlab(63.04, 49.76, -55.36)
CIE-LCHlch(63.04, 74.44, 311.95°)
OKLaboklab(70.22% 0.1109 -0.1556)
OKLCHoklch(70.22% 0.191 305.5)
XYZxyz(45.2655, 31.6390, 95.7989)
Luminance0.3164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7AFC #BAFC7A
analogous
#7B7AFC #BC7AFC #FC7AFB
triadic
#BC7AFC #FCBC7A #7AFCBC
tetradic
#BC7AFC #FC7B7A #BAFC7A #7AFBFC
square
#BC7AFC #FC7B7A #BAFC7A #7AFBFC
split-complementary
#BC7AFC #FBFC7A #7AFC7B
monochromatic
#8006F6 #9E3EFB #BC7AFC #DAB6FD #F0E1FE

Accessibility & contrast

On white

2.87
#BC7AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#BC7AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7AFC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7AFC#FFFFFF#000000##000000
##BC7AFC1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FF
Deuteranopia (green-blind)
#6599F9
Tritanopia (blue-blind)
#B192B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bc7afc;
/* rgb */ color: rgb(188, 122, 252);
/* oklch */ color: oklch(70.2% 0.191 305.5);
Tailwind
colors: {
  custom: {
    50: '#d3a2fe',
    500: '#bc7afc',
    950: '#000000',
  },
}
SCSS
$custom: #bc7afc;
$custom-light: #d3a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7afc",
  "rgb": {
    "r": 188,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 270.462,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70217,
    "c": 0.19102,
    "h": 305.5
  },
  "luminance": 0.31639
}

Semantic roles & 50–950 ramp

primary
#BC7AFC
secondary
#E5F7D4
accent
#E60071
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BC7AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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