#BC7FE4#BC7FE4

#BC7FE4 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.7% C 0.155 H 310.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#BC7FE4
RGBrgb(188, 127, 228)
HSLhsl(276, 65%, 70%)
HSVhsv(276, 44%, 89%)
CMYKcmyk(17.5%, 44.3%, 0%, 10.6%)
CIE-LABlab(62.90, 41.73, -42.32)
CIE-LCHlch(62.90, 59.43, 314.60°)
OKLaboklab(69.73% 0.1014 -0.1176)
OKLCHoklch(69.73% 0.155 310.8)
XYZxyz(42.3295, 31.4723, 77.2286)
Luminance0.3147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7FE4 #A7E47F
analogous
#8A7FE4 #BC7FE4 #E47FD9
triadic
#BC7FE4 #E4BC7F #7FE4BC
tetradic
#BC7FE4 #E48A7F #A7E47F #7FD9E4
square
#BC7FE4 #E48A7F #A7E47F #7FD9E4
split-complementary
#BC7FE4 #D9E47F #7FE48A
monochromatic
#8429C0 #A24CD9 #BC7FE4 #D6B2EF #F1E4F9

Accessibility & contrast

On white

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

On black

7.29
#BC7FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7FE4
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7FE4#FFFFFF#000000##000000
##BC7FE41.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6995E8
Deuteranopia (green-blind)
#7999E1
Tritanopia (blue-blind)
#B78FA7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bc7fe4;
/* rgb */ color: rgb(188, 127, 228);
/* oklch */ color: oklch(69.7% 0.155 310.8);
Tailwind
colors: {
  custom: {
    50: '#d2a5ed',
    500: '#bc7fe4',
    950: '#000000',
  },
}
SCSS
$custom: #bc7fe4;
$custom-light: #d2a5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7fe4",
  "rgb": {
    "r": 188,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 276.238,
    "s": 65.161,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69726,
    "c": 0.15532,
    "h": 310.8
  },
  "luminance": 0.31472
}

Semantic roles & 50–950 ramp

primary
#BC7FE4
secondary
#DCEED1
accent
#CD1960
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BC7FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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