#BC7DEF#BC7DEF

#BC7DEF is a light, vivid violet. Relative luminance 0.316; OKLCH L 70.0% C 0.171 H 308.1°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#BC7DEF
RGBrgb(188, 125, 239)
HSLhsl(273, 78%, 71%)
HSVhsv(273, 48%, 94%)
CMYKcmyk(21.3%, 47.7%, 0%, 6.3%)
CIE-LABlab(63.00, 45.23, -48.26)
CIE-LCHlch(63.00, 66.14, 313.14°)
OKLaboklab(69.97% 0.1057 -0.1349)
OKLCHoklch(69.97% 0.171 308.1)
XYZxyz(43.6496, 31.5911, 85.4428)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7DEF #B0EF7D
analogous
#837DEF #BC7DEF #EF7DE9
triadic
#BC7DEF #EFBC7D #7DEFBC
tetradic
#BC7DEF #EF837D #B0EF7D #7DE9EF
square
#BC7DEF #EF837D #B0EF7D #7DE9EF
split-complementary
#BC7DEF #E9EF7D #7DEF83
monochromatic
#831AD7 #A047E8 #BC7DEF #D8B3F6 #F1E4FC

Accessibility & contrast

On white

2.87
#BC7DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#BC7DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7DEF
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7DEF#FFFFFF#000000##000000
##BC7DEF1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F96F3
Deuteranopia (green-blind)
#7199EC
Tritanopia (blue-blind)
#B590AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bc7def;
/* rgb */ color: rgb(188, 125, 239);
/* oklch */ color: oklch(70.0% 0.171 308.1);
Tailwind
colors: {
  custom: {
    50: '#d2a4f5',
    500: '#bc7def',
    950: '#000000',
  },
}
SCSS
$custom: #bc7def;
$custom-light: #d2a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7def",
  "rgb": {
    "r": 188,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 273.158,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69972,
    "c": 0.17134,
    "h": 308.1
  },
  "luminance": 0.31591
}

Semantic roles & 50–950 ramp

primary
#BC7DEF
secondary
#E2F3D5
accent
#DA0B68
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #BC7DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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