#BC7AFE#BC7AFE

#BC7AFE is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.3% C 0.193 H 305.0°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#BC7AFE
RGBrgb(188, 122, 254)
HSLhsl(270, 99%, 74%)
HSVhsv(270, 52%, 100%)
CMYKcmyk(26%, 52%, 0%, 0.4%)
CIE-LABlab(63.15, 50.22, -56.29)
CIE-LCHlch(63.15, 75.44, 311.73°)
OKLaboklab(70.33% 0.111 -0.1583)
OKLCHoklch(70.33% 0.193 305)
XYZxyz(45.5841, 31.7664, 97.4768)
Luminance0.3177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7AFE #BCFE7A
analogous
#7A7AFE #BC7AFE #FE7AFE
triadic
#BC7AFE #FEBC7A #7AFEBC
tetradic
#BC7AFE #FE7A7A #BCFE7A #7AFEFE
square
#BC7AFE #FE7A7A #BCFE7A #7AFEFE
split-complementary
#BC7AFE #FEFE7A #7AFE7A
monochromatic
#7F02FC #9D3DFE #BC7AFE #DBB7FE #F0E1FF

Accessibility & contrast

On white

2.86
#BC7AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#BC7AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7AFE
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7AFE#FFFFFF#000000##000000
##BC7AFE1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F97FF
Deuteranopia (green-blind)
#6499FB
Tritanopia (blue-blind)
#B192B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bc7afe;
/* rgb */ color: rgb(188, 122, 254);
/* oklch */ color: oklch(70.3% 0.193 305.0);
Tailwind
colors: {
  custom: {
    50: '#d3a2ff',
    500: '#bc7afe',
    950: '#000000',
  },
}
SCSS
$custom: #bc7afe;
$custom-light: #d3a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7afe",
  "rgb": {
    "r": 188,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 270,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70329,
    "c": 0.19332,
    "h": 305
  },
  "luminance": 0.31766
}

Semantic roles & 50–950 ramp

primary
#BC7AFE
secondary
#E6F7D4
accent
#E60073
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BC7AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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