#BC7AF2#BC7AF2

#BC7AF2 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.7% C 0.180 H 307.8°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#BC7AF2
RGBrgb(188, 122, 242)
HSLhsl(273, 82%, 71%)
HSVhsv(273, 50%, 95%)
CMYKcmyk(22.3%, 49.6%, 0%, 5.1%)
CIE-LABlab(62.53, 47.50, -50.67)
CIE-LCHlch(62.53, 69.46, 313.15°)
OKLaboklab(69.66% 0.11 -0.1419)
OKLCHoklch(69.66% 0.18 307.8)
XYZxyz(43.7224, 31.0218, 87.6717)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7AF2 #B0F27A
analogous
#807AF2 #BC7AF2 #F27AEC
triadic
#BC7AF2 #F2BC7A #7AF2BC
tetradic
#BC7AF2 #F2807A #B0F27A #7AECF2
square
#BC7AF2 #F2807A #B0F27A #7AECF2
split-complementary
#BC7AF2 #ECF27A #7AF280
monochromatic
#8316DC #A042ED #BC7AF2 #D8B2F7 #F1E3FC

Accessibility & contrast

On white

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

On black

7.20
#BC7AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7AF2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7AF2#FFFFFF#000000##000000
##BC7AF21.002.917.207.20
#FFFFFF2.911.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#6C98EF
Tritanopia (blue-blind)
#B48FAB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bc7af2;
/* rgb */ color: rgb(188, 122, 242);
/* oklch */ color: oklch(69.7% 0.180 307.8);
Tailwind
colors: {
  custom: {
    50: '#d3a2f7',
    500: '#bc7af2',
    950: '#000000',
  },
}
SCSS
$custom: #bc7af2;
$custom-light: #d3a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7af2",
  "rgb": {
    "r": 188,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 273,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69665,
    "c": 0.17953,
    "h": 307.8
  },
  "luminance": 0.31021
}

Semantic roles & 50–950 ramp

primary
#BC7AF2
secondary
#E2F3D4
accent
#DF0768
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BC7AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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