#BC2DFE#BC2DFE

#BC2DFE is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 62.0% C 0.284 H 311.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BC2DFE
RGBrgb(188, 45, 254)
HSLhsl(281, 99%, 59%)
HSVhsv(281, 82%, 100%)
CMYKcmyk(26%, 82.3%, 0%, 0.4%)
CIE-LABlab(51.52, 82.27, -75.00)
CIE-LCHlch(51.52, 111.33, 317.65°)
OKLaboklab(61.97% 0.1878 -0.2128)
OKLCHoklch(61.97% 0.284 311.4)
XYZxyz(39.5634, 19.7250, 95.4699)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC2DFE #6FFE2D
analogous
#532DFE #BC2DFE #FE2DD7
triadic
#BC2DFE #FEBC2D #2DFEBC
tetradic
#BC2DFE #FE532D #6FFE2D #2DD7FE
square
#BC2DFE #FE532D #6FFE2D #2DD7FE
split-complementary
#BC2DFE #D7FE2D #2DFE53
monochromatic
#7901B0 #A201ED #BC2DFE #CF6AFE #E3A7FF

Accessibility & contrast

On white

4.25
#BC2DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#BC2DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC2DFE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC2DFE#FFFFFF#000000##000000
##BC2DFE1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#007DFA
Tritanopia (blue-blind)
#B3659A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bc2dfe;
/* rgb */ color: rgb(188, 45, 254);
/* oklch */ color: oklch(62.0% 0.284 311.4);
Tailwind
colors: {
  custom: {
    50: '#d679ff',
    500: '#bc2dfe',
    950: '#000000',
  },
}
SCSS
$custom: #bc2dfe;
$custom-light: #d679ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bc2dfe",
  "rgb": {
    "r": 188,
    "g": 45,
    "b": 254
  },
  "hsl": {
    "h": 281.053,
    "s": 99.052,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6197,
    "c": 0.28381,
    "h": 311.4
  },
  "luminance": 0.19724
}

Semantic roles & 50–950 ramp

primary
#BC2DFE
secondary
#B4ED9A
accent
#FF296C
background
#FDF8FF
surface
#FBEFFF
border
#D4CAD7
text
#150A18
muted
#837C86

Preview Lab

Preview with #BC2DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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