#BC2EB8#BC2EB8

#BC2EB8 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.229 H 329.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BC2EB8
RGBrgb(188, 46, 184)
HSLhsl(302, 61%, 46%)
HSVhsv(302, 76%, 74%)
CMYKcmyk(0%, 75.5%, 2.1%, 26.3%)
CIE-LABlab(47.12, 69.76, -42.17)
CIE-LCHlch(47.12, 81.52, 328.85°)
OKLaboklab(57.44% 0.1965 -0.1166)
OKLCHoklch(57.44% 0.229 329.3)
XYZxyz(30.3675, 16.1084, 46.8479)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC2EB8 #2EBC32
analogous
#792EBC #BC2EB8 #BC2E71
triadic
#BC2EB8 #B8BC2E #2EB8BC
tetradic
#BC2EB8 #BC792E #2EBC32 #2E71BC
square
#BC2EB8 #BC792E #2EBC32 #2E71BC
split-complementary
#BC2EB8 #71BC2E #2EBC79
monochromatic
#5A1658 #8B2288 #BC2EB8 #D552D1 #E184DE

Accessibility & contrast

On white

4.97
#BC2EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#BC2EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC2EB8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC2EB8#FFFFFF#000000##FFFFFF
##BC2EB81.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1464BC
Deuteranopia (green-blind)
#5976B5
Tritanopia (blue-blind)
#C34372
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bc2eb8;
/* rgb */ color: rgb(188, 46, 184);
/* oklch */ color: oklch(57.4% 0.229 329.3);
Tailwind
colors: {
  custom: {
    50: '#d477ce',
    500: '#bc2eb8',
    950: '#000000',
  },
}
SCSS
$custom: #bc2eb8;
$custom-light: #d477ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bc2eb8",
  "rgb": {
    "r": 188,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 301.69,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57438,
    "c": 0.22854,
    "h": 329.3
  },
  "luminance": 0.16106
}

Semantic roles & 50–950 ramp

primary
#BC2EB8
secondary
#7CCA7E
accent
#E44844
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BC2EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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