#BC8AFC#BC8AFC

#BC8AFC is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.7% C 0.166 H 302.7°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#BC8AFC
RGBrgb(188, 138, 252)
HSLhsl(266, 95%, 76%)
HSVhsv(266, 45%, 99%)
CMYKcmyk(25.4%, 45.2%, 0%, 1.2%)
CIE-LABlab(66.44, 41.14, -49.98)
CIE-LCHlch(66.44, 64.73, 309.46°)
OKLaboklab(72.75% 0.0899 -0.1399)
OKLCHoklch(72.75% 0.166 302.7)
XYZxyz(47.3943, 35.8966, 96.5085)
Luminance0.3590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC8AFC #CAFC8A
analogous
#8A91FC #BC8AFC #F58AFC
triadic
#BC8AFC #FCBC8A #8AFCBC
tetradic
#BC8AFC #FC8A91 #CAFC8A #8AFCF5
square
#BC8AFC #FC8A91 #CAFC8A #8AFCF5
split-complementary
#BC8AFC #FCF58A #91FC8A
monochromatic
#7813F9 #9A4EFA #BC8AFC #DEC6FE #EEE1FE

Accessibility & contrast

On white

2.57
#BC8AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#BC8AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC8AFC
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC8AFC#FFFFFF#000000##000000
##BC8AFC1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#76A1F9
Tritanopia (blue-blind)
#B19EB7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bc8afc;
/* rgb */ color: rgb(188, 138, 252);
/* oklch */ color: oklch(72.7% 0.166 302.7);
Tailwind
colors: {
  custom: {
    50: '#d2adfe',
    500: '#bc8afc',
    950: '#000000',
  },
}
SCSS
$custom: #bc8afc;
$custom-light: #d2adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#bc8afc",
  "rgb": {
    "r": 188,
    "g": 138,
    "b": 252
  },
  "hsl": {
    "h": 266.316,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72747,
    "c": 0.16629,
    "h": 302.7
  },
  "luminance": 0.35897
}

Semantic roles & 50–950 ramp

primary
#BC8AFC
secondary
#E8F6D5
accent
#E60081
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BC8AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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