#BC7DF2#BC7DF2

#BC7DF2 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.1% C 0.175 H 307.3°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#BC7DF2
RGBrgb(188, 125, 242)
HSLhsl(272, 82%, 72%)
HSVhsv(272, 48%, 95%)
CMYKcmyk(22.3%, 48.3%, 0%, 5.1%)
CIE-LABlab(63.15, 45.90, -49.68)
CIE-LCHlch(63.15, 67.64, 312.73°)
OKLaboklab(70.13% 0.106 -0.139)
OKLCHoklch(70.13% 0.175 307.3)
XYZxyz(44.0965, 31.7699, 87.7963)
Luminance0.3177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7DF2 #B3F27D
analogous
#827DF2 #BC7DF2 #F27DED
triadic
#BC7DF2 #F2BC7D #7DF2BC
tetradic
#BC7DF2 #F2827D #B3F27D #7DEDF2
square
#BC7DF2 #F2827D #B3F27D #7DEDF2
split-complementary
#BC7DF2 #EDF27D #7DF282
monochromatic
#8216DE #9F45EC #BC7DF2 #D9B5F8 #F1E3FC

Accessibility & contrast

On white

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

On black

7.35
#BC7DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7DF2
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7DF2#FFFFFF#000000##000000
##BC7DF21.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#6F9AEF
Tritanopia (blue-blind)
#B491AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bc7df2;
/* rgb */ color: rgb(188, 125, 242);
/* oklch */ color: oklch(70.1% 0.175 307.3);
Tailwind
colors: {
  custom: {
    50: '#d2a4f7',
    500: '#bc7df2',
    950: '#000000',
  },
}
SCSS
$custom: #bc7df2;
$custom-light: #d2a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7df2",
  "rgb": {
    "r": 188,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 272.308,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70131,
    "c": 0.17482,
    "h": 307.3
  },
  "luminance": 0.31769
}

Semantic roles & 50–950 ramp

primary
#BC7DF2
secondary
#E4F4D7
accent
#DE076A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BC7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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