#BC7AFD#BC7AFD

#BC7AFD is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.3% C 0.192 H 305.3°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#BC7AFD
RGBrgb(188, 122, 253)
HSLhsl(270, 97%, 74%)
HSVhsv(270, 52%, 99%)
CMYKcmyk(25.7%, 51.8%, 0%, 0.8%)
CIE-LABlab(63.10, 49.99, -55.83)
CIE-LCHlch(63.10, 74.94, 311.84°)
OKLaboklab(70.27% 0.1109 -0.1569)
OKLCHoklch(70.27% 0.192 305.3)
XYZxyz(45.4244, 31.7026, 96.6356)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7AFD #BBFD7A
analogous
#7A7AFD #BC7AFD #FD7AFC
triadic
#BC7AFD #FDBC7A #7AFDBC
tetradic
#BC7AFD #FD7A7A #BBFD7A #7AFCFD
square
#BC7AFD #FD7A7A #BBFD7A #7AFCFD
split-complementary
#BC7AFD #FCFD7A #7AFD7A
monochromatic
#7F04F9 #9E3EFC #BC7AFD #DAB6FE #F0E1FF

Accessibility & contrast

On white

2.86
#BC7AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#BC7AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7AFD
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7AFD#FFFFFF#000000##000000
##BC7AFD1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#6499FA
Tritanopia (blue-blind)
#B192B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bc7afd;
/* rgb */ color: rgb(188, 122, 253);
/* oklch */ color: oklch(70.3% 0.192 305.3);
Tailwind
colors: {
  custom: {
    50: '#d3a2ff',
    500: '#bc7afd',
    950: '#000000',
  },
}
SCSS
$custom: #bc7afd;
$custom-light: #d3a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7afd",
  "rgb": {
    "r": 188,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 270.229,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70273,
    "c": 0.19217,
    "h": 305.3
  },
  "luminance": 0.31702
}

Semantic roles & 50–950 ramp

primary
#BC7AFD
secondary
#E5F7D4
accent
#E60072
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BC7AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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