#BC7AFA#BC7AFA

#BC7AFA is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.1% C 0.189 H 305.9°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#BC7AFA
RGBrgb(188, 122, 250)
HSLhsl(271, 93%, 73%)
HSVhsv(271, 51%, 98%)
CMYKcmyk(24.8%, 51.2%, 0%, 2%)
CIE-LABlab(62.94, 49.30, -54.43)
CIE-LCHlch(62.94, 73.44, 312.17°)
OKLaboklab(70.1% 0.1107 -0.1528)
OKLCHoklch(70.1% 0.189 305.9)
XYZxyz(44.9503, 31.5129, 94.1385)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7AFA #B8FA7A
analogous
#7C7AFA #BC7AFA #FA7AF8
triadic
#BC7AFA #FABC7A #7AFABC
tetradic
#BC7AFA #FA7C7A #B8FA7A #7AF8FA
square
#BC7AFA #FA7C7A #B8FA7A #7AF8FA
split-complementary
#BC7AFA #F8FA7A #7AFA7C
monochromatic
#8009F1 #9E3FF8 #BC7AFA #DAB5FC #F0E2FE

Accessibility & contrast

On white

2.88
#BC7AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#BC7AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7AFA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7AFA#FFFFFF#000000##000000
##BC7AFA1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FE
Deuteranopia (green-blind)
#6799F7
Tritanopia (blue-blind)
#B291AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bc7afa;
/* rgb */ color: rgb(188, 122, 250);
/* oklch */ color: oklch(70.1% 0.189 305.9);
Tailwind
colors: {
  custom: {
    50: '#d3a2fc',
    500: '#bc7afa',
    950: '#000000',
  },
}
SCSS
$custom: #bc7afa;
$custom-light: #d3a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7afa",
  "rgb": {
    "r": 188,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 270.938,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70105,
    "c": 0.18872,
    "h": 305.9
  },
  "luminance": 0.31513
}

Semantic roles & 50–950 ramp

primary
#BC7AFA
secondary
#E5F6D5
accent
#E6006F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BC7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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