#BC8AFE#BC8AFE

#BC8AFE is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.9% C 0.169 H 302.3°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#BC8AFE
RGBrgb(188, 138, 254)
HSLhsl(266, 98%, 77%)
HSVhsv(266, 46%, 100%)
CMYKcmyk(26%, 45.7%, 0%, 0.4%)
CIE-LABlab(66.54, 41.61, -50.92)
CIE-LCHlch(66.54, 65.75, 309.26°)
OKLaboklab(72.85% 0.0902 -0.1426)
OKLCHoklch(72.85% 0.169 302.3)
XYZxyz(47.7129, 36.0241, 98.1864)
Luminance0.3602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC8AFE #CCFE8A
analogous
#8A92FE #BC8AFE #F68AFE
triadic
#BC8AFE #FEBC8A #8AFEBC
tetradic
#BC8AFE #FE8A92 #CCFE8A #8AFEF6
square
#BC8AFE #FE8A92 #CCFE8A #8AFEF6
split-complementary
#BC8AFE #FEF68A #92FE8A
monochromatic
#7711FD #994DFD #BC8AFE #DFC7FF #EEE1FF

Accessibility & contrast

On white

2.56
#BC8AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#BC8AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC8AFE
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC8AFE#FFFFFF#000000##000000
##BC8AFE1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#75A1FB
Tritanopia (blue-blind)
#B09EB8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bc8afe;
/* rgb */ color: rgb(188, 138, 254);
/* oklch */ color: oklch(72.9% 0.169 302.3);
Tailwind
colors: {
  custom: {
    50: '#d2adff',
    500: '#bc8afe',
    950: '#000000',
  },
}
SCSS
$custom: #bc8afe;
$custom-light: #d2adff;
$custom-dark: #000000;
JSON
{
  "hex": "#bc8afe",
  "rgb": {
    "r": 188,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 265.862,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.72852,
    "c": 0.16874,
    "h": 302.3
  },
  "luminance": 0.36024
}

Semantic roles & 50–950 ramp

primary
#BC8AFE
secondary
#E8F7D4
accent
#E60083
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BC8AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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