#BC7AEF#BC7AEF

#BC7AEF is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.5% C 0.176 H 308.5°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#BC7AEF
RGBrgb(188, 122, 239)
HSLhsl(274, 79%, 71%)
HSVhsv(274, 49%, 94%)
CMYKcmyk(21.3%, 49%, 0%, 6.3%)
CIE-LABlab(62.37, 46.83, -49.26)
CIE-LCHlch(62.37, 67.97, 313.56°)
OKLaboklab(69.5% 0.1097 -0.1377)
OKLCHoklch(69.5% 0.176 308.5)
XYZxyz(43.2755, 30.8430, 85.3181)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7AEF #ADEF7A
analogous
#817AEF #BC7AEF #EF7AE7
triadic
#BC7AEF #EFBC7A #7AEFBC
tetradic
#BC7AEF #EF817A #ADEF7A #7AE7EF
square
#BC7AEF #EF817A #ADEF7A #7AE7EF
split-complementary
#BC7AEF #E7EF7A #7AEF81
monochromatic
#831AD5 #A043E8 #BC7AEF #D8B1F6 #F1E4FC

Accessibility & contrast

On white

2.93
#BC7AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#BC7AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7AEF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7AEF#FFFFFF#000000##000000
##BC7AEF1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B94F3
Deuteranopia (green-blind)
#6E98EC
Tritanopia (blue-blind)
#B58EA9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bc7aef;
/* rgb */ color: rgb(188, 122, 239);
/* oklch */ color: oklch(69.5% 0.176 308.5);
Tailwind
colors: {
  custom: {
    50: '#d2a2f5',
    500: '#bc7aef',
    950: '#000000',
  },
}
SCSS
$custom: #bc7aef;
$custom-light: #d2a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7aef",
  "rgb": {
    "r": 188,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 273.846,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69504,
    "c": 0.17609,
    "h": 308.5
  },
  "luminance": 0.30842
}

Semantic roles & 50–950 ramp

primary
#BC7AEF
secondary
#E0F2D3
accent
#DB0B65
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #BC7AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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