#BC7FEF#BC7FEF

#BC7FEF is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.3% C 0.168 H 307.8°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#BC7FEF
RGBrgb(188, 127, 239)
HSLhsl(273, 78%, 72%)
HSVhsv(273, 47%, 94%)
CMYKcmyk(21.3%, 46.9%, 0%, 6.3%)
CIE-LABlab(63.43, 44.15, -47.59)
CIE-LCHlch(63.43, 64.92, 312.85°)
OKLaboklab(70.29% 0.103 -0.1329)
OKLCHoklch(70.29% 0.168 307.8)
XYZxyz(43.9053, 32.1026, 85.5281)
Luminance0.3210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7FEF #B2EF7F
analogous
#847FEF #BC7FEF #EF7FEA
triadic
#BC7FEF #EFBC7F #7FEFBC
tetradic
#BC7FEF #EF847F #B2EF7F #7FEAEF
square
#BC7FEF #EF847F #B2EF7F #7FEAEF
split-complementary
#BC7FEF #EAEF7F #7FEF84
monochromatic
#821BD9 #A049E8 #BC7FEF #D8B5F6 #F1E4FC

Accessibility & contrast

On white

2.83
#BC7FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#BC7FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7FEF
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7FEF#FFFFFF#000000##000000
##BC7FEF1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#739AEC
Tritanopia (blue-blind)
#B592AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bc7fef;
/* rgb */ color: rgb(188, 127, 239);
/* oklch */ color: oklch(70.3% 0.168 307.8);
Tailwind
colors: {
  custom: {
    50: '#d2a5f5',
    500: '#bc7fef',
    950: '#000000',
  },
}
SCSS
$custom: #bc7fef;
$custom-light: #d2a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7fef",
  "rgb": {
    "r": 188,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 272.679,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70288,
    "c": 0.16815,
    "h": 307.8
  },
  "luminance": 0.32102
}

Semantic roles & 50–950 ramp

primary
#BC7FEF
secondary
#E4F3D7
accent
#DA0B6A
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #BC7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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