#BC7AFB#BC7AFB

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

Color values

HEX#BC7AFB
RGBrgb(188, 122, 251)
HSLhsl(271, 94%, 73%)
HSVhsv(271, 51%, 98%)
CMYKcmyk(25.1%, 51.4%, 0%, 1.6%)
CIE-LABlab(62.99, 49.53, -54.90)
CIE-LCHlch(62.99, 73.94, 312.06°)
OKLaboklab(70.16% 0.1108 -0.1542)
OKLCHoklch(70.16% 0.19 305.7)
XYZxyz(45.1075, 31.5758, 94.9665)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7AFB #B9FB7A
analogous
#7B7AFB #BC7AFB #FB7AF9
triadic
#BC7AFB #FBBC7A #7AFBBC
tetradic
#BC7AFB #FB7B7A #B9FB7A #7AF9FB
square
#BC7AFB #FB7B7A #B9FB7A #7AF9FB
split-complementary
#BC7AFB #F9FB7A #7AFB7B
monochromatic
#8007F3 #9E3FF9 #BC7AFB #DAB5FD #F0E1FE

Accessibility & contrast

On white

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

On black

7.31
#BC7AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7AFB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7AFB#FFFFFF#000000##000000
##BC7AFB1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5296FF
Deuteranopia (green-blind)
#6699F8
Tritanopia (blue-blind)
#B291AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bc7afb;
/* rgb */ color: rgb(188, 122, 251);
/* oklch */ color: oklch(70.2% 0.190 305.7);
Tailwind
colors: {
  custom: {
    50: '#d3a2fd',
    500: '#bc7afb',
    950: '#000000',
  },
}
SCSS
$custom: #bc7afb;
$custom-light: #d3a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7afb",
  "rgb": {
    "r": 188,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 270.698,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70161,
    "c": 0.18987,
    "h": 305.7
  },
  "luminance": 0.31575
}

Semantic roles & 50–950 ramp

primary
#BC7AFB
secondary
#E5F6D5
accent
#E60070
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BC7AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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