#BC7AF6#BC7AF6

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

Color values

HEX#BC7AF6
RGBrgb(188, 122, 246)
HSLhsl(272, 87%, 72%)
HSVhsv(272, 50%, 96%)
CMYKcmyk(23.6%, 50.4%, 0%, 3.5%)
CIE-LABlab(62.73, 48.40, -52.56)
CIE-LCHlch(62.73, 71.45, 312.64°)
OKLaboklab(69.88% 0.1104 -0.1474)
OKLCHoklch(69.88% 0.184 306.8)
XYZxyz(44.3297, 31.2647, 90.8703)
Luminance0.3126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7AF6 #B4F67A
analogous
#7E7AF6 #BC7AF6 #F67AF2
triadic
#BC7AF6 #F6BC7A #7AF6BC
tetradic
#BC7AF6 #F67E7A #B4F67A #7AF2F6
square
#BC7AF6 #F67E7A #B4F67A #7AF2F6
split-complementary
#BC7AF6 #F2F67A #7AF67E
monochromatic
#8210E6 #9F41F2 #BC7AF6 #D9B3FA #F1E2FD

Accessibility & contrast

On white

2.90
#BC7AF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#BC7AF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7AF6
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7AF6#FFFFFF#000000##000000
##BC7AF61.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5695FA
Deuteranopia (green-blind)
#6998F3
Tritanopia (blue-blind)
#B390AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bc7af6;
/* rgb */ color: rgb(188, 122, 246);
/* oklch */ color: oklch(69.9% 0.184 306.8);
Tailwind
colors: {
  custom: {
    50: '#d3a2fa',
    500: '#bc7af6',
    950: '#000000',
  },
}
SCSS
$custom: #bc7af6;
$custom-light: #d3a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7af6",
  "rgb": {
    "r": 188,
    "g": 122,
    "b": 246
  },
  "hsl": {
    "h": 271.935,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69883,
    "c": 0.18412,
    "h": 306.8
  },
  "luminance": 0.31264
}

Semantic roles & 50–950 ramp

primary
#BC7AF6
secondary
#E4F5D6
accent
#E4026B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BC7AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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