#BC7AF4#BC7AF4

#BC7AF4 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.8% C 0.182 H 307.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#BC7AF4
RGBrgb(188, 122, 244)
HSLhsl(272, 85%, 72%)
HSVhsv(272, 50%, 96%)
CMYKcmyk(23%, 50%, 0%, 4.3%)
CIE-LABlab(62.63, 47.95, -51.62)
CIE-LCHlch(62.63, 70.45, 312.89°)
OKLaboklab(69.77% 0.1102 -0.1446)
OKLCHoklch(69.77% 0.182 307.3)
XYZxyz(44.0244, 31.1426, 89.2623)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7AF4 #B2F47A
analogous
#7F7AF4 #BC7AF4 #F47AEF
triadic
#BC7AF4 #F4BC7A #7AF4BC
tetradic
#BC7AF4 #F47F7A #B2F47A #7AEFF4
square
#BC7AF4 #F47F7A #B2F47A #7AEFF4
split-complementary
#BC7AF4 #EFF47A #7AF47F
monochromatic
#8213E1 #A041EF #BC7AF4 #D8B3F9 #F1E3FD

Accessibility & contrast

On white

2.91
#BC7AF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#BC7AF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7AF4
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7AF4#FFFFFF#000000##000000
##BC7AF41.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5795F8
Deuteranopia (green-blind)
#6B98F1
Tritanopia (blue-blind)
#B48FAC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bc7af4;
/* rgb */ color: rgb(188, 122, 244);
/* oklch */ color: oklch(69.8% 0.182 307.3);
Tailwind
colors: {
  custom: {
    50: '#d3a2f8',
    500: '#bc7af4',
    950: '#000000',
  },
}
SCSS
$custom: #bc7af4;
$custom-light: #d3a2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7af4",
  "rgb": {
    "r": 188,
    "g": 122,
    "b": 244
  },
  "hsl": {
    "h": 272.459,
    "s": 84.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69774,
    "c": 0.18183,
    "h": 307.3
  },
  "luminance": 0.31142
}

Semantic roles & 50–950 ramp

primary
#BC7AF4
secondary
#E4F4D5
accent
#E1046A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BC7AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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