#BC51E7#BC51E7

#BC51E7 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.5% C 0.228 H 314.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BC51E7
RGBrgb(188, 81, 231)
HSLhsl(283, 76%, 61%)
HSVhsv(283, 65%, 91%)
CMYKcmyk(18.6%, 64.9%, 0%, 9.4%)
CIE-LABlab(54.39, 65.26, -57.50)
CIE-LCHlch(54.39, 86.98, 318.61°)
OKLaboklab(63.52% 0.1603 -0.1616)
OKLCHoklch(63.52% 0.228 314.8)
XYZxyz(38.1029, 22.3470, 77.8921)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC51E7 #7CE751
analogous
#7151E7 #BC51E7 #E751C7
triadic
#BC51E7 #E7BC51 #51E7BC
tetradic
#BC51E7 #E77151 #7CE751 #51C7E7
square
#BC51E7 #E77151 #7CE751 #51C7E7
split-complementary
#BC51E7 #C7E751 #51E771
monochromatic
#7D17A7 #A61EDC #BC51E7 #D187EE #E5BDF6

Accessibility & contrast

On white

3.84
#BC51E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#BC51E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC51E7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC51E7#FFFFFF#000000##000000
##BC51E71.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEB
Deuteranopia (green-blind)
#4D85E3
Tritanopia (blue-blind)
#B86E95
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bc51e7;
/* rgb */ color: rgb(188, 81, 231);
/* oklch */ color: oklch(63.5% 0.228 314.8);
Tailwind
colors: {
  custom: {
    50: '#d489ef',
    500: '#bc51e7',
    950: '#000000',
  },
}
SCSS
$custom: #bc51e7;
$custom-light: #d489ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bc51e7",
  "rgb": {
    "r": 188,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 282.8,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6352,
    "c": 0.22762,
    "h": 314.8
  },
  "luminance": 0.22346
}

Semantic roles & 50–950 ramp

primary
#BC51E7
secondary
#BEE6AE
accent
#D80E48
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BC51E7

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

Preview Lab → · Contrast checker → · Palette generator →

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