#BC2EA8#BC2EA8

#BC2EA8 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.217 H 334.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BC2EA8
RGBrgb(188, 46, 168)
HSLhsl(308, 61%, 46%)
HSVhsv(308, 76%, 74%)
CMYKcmyk(0%, 75.5%, 10.6%, 26.3%)
CIE-LABlab(46.28, 67.33, -34.06)
CIE-LCHlch(46.28, 75.46, 333.17°)
OKLaboklab(56.57% 0.1961 -0.0932)
OKLCHoklch(56.57% 0.217 334.6)
XYZxyz(28.7842, 15.4751, 38.5092)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC2EA8 #2EBC42
analogous
#892EBC #BC2EA8 #BC2E61
triadic
#BC2EA8 #A8BC2E #2EA8BC
tetradic
#BC2EA8 #BC892E #2EBC42 #2E61BC
square
#BC2EA8 #BC892E #2EBC42 #2E61BC
split-complementary
#BC2EA8 #61BC2E #2EBC89
monochromatic
#5A1650 #8B227C #BC2EA8 #D552C2 #E184D4

Accessibility & contrast

On white

5.13
#BC2EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BC2EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC2EA8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC2EA8#FFFFFF#000000##FFFFFF
##BC2EA81.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C60AB
Deuteranopia (green-blind)
#6175A5
Tritanopia (blue-blind)
#C53B69
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bc2ea8;
/* rgb */ color: rgb(188, 46, 168);
/* oklch */ color: oklch(56.6% 0.217 334.6);
Tailwind
colors: {
  custom: {
    50: '#d476c2',
    500: '#bc2ea8',
    950: '#000000',
  },
}
SCSS
$custom: #bc2ea8;
$custom-light: #d476c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bc2ea8",
  "rgb": {
    "r": 188,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 308.451,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56567,
    "c": 0.2171,
    "h": 334.6
  },
  "luminance": 0.15473
}

Semantic roles & 50–950 ramp

primary
#BC2EA8
secondary
#7CCA87
accent
#E45A44
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BC2EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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