#BC7AEB#BC7AEB

#BC7AEB is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.3% C 0.172 H 309.6°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#BC7AEB
RGBrgb(188, 122, 235)
HSLhsl(275, 74%, 70%)
HSVhsv(275, 48%, 92%)
CMYKcmyk(20%, 48.1%, 0%, 7.8%)
CIE-LABlab(62.18, 45.95, -47.35)
CIE-LCHlch(62.18, 65.98, 314.14°)
OKLaboklab(69.29% 0.1093 -0.1322)
OKLCHoklch(69.29% 0.172 309.6)
XYZxyz(42.6911, 30.6093, 82.2404)
Luminance0.3061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7AEB #A9EB7A
analogous
#837AEB #BC7AEB #EB7AE2
triadic
#BC7AEB #EBBC7A #7AEBBC
tetradic
#BC7AEB #EB837A #A9EB7A #7AE2EB
square
#BC7AEB #EB837A #A9EB7A #7AE2EB
split-complementary
#BC7AEB #E2EB7A #7AEB83
monochromatic
#841FCC #A145E3 #BC7AEB #D7AFF3 #F2E4FB

Accessibility & contrast

On white

2.95
#BC7AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#BC7AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7AEB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7AEB#FFFFFF#000000##000000
##BC7AEB1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EF
Deuteranopia (green-blind)
#7097E8
Tritanopia (blue-blind)
#B68DA8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bc7aeb;
/* rgb */ color: rgb(188, 122, 235);
/* oklch */ color: oklch(69.3% 0.172 309.6);
Tailwind
colors: {
  custom: {
    50: '#d2a2f2',
    500: '#bc7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #bc7aeb;
$custom-light: #d2a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7aeb",
  "rgb": {
    "r": 188,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 275.044,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.69292,
    "c": 0.17151,
    "h": 309.6
  },
  "luminance": 0.30609
}

Semantic roles & 50–950 ramp

primary
#BC7AEB
secondary
#DEF0D1
accent
#D61062
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BC7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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