#BC26B2#BC26B2

#BC26B2 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.6% C 0.231 H 331.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BC26B2
RGBrgb(188, 38, 178)
HSLhsl(304, 66%, 44%)
HSVhsv(304, 80%, 74%)
CMYKcmyk(0%, 79.8%, 5.3%, 26.3%)
CIE-LABlab(46.03, 71.02, -40.36)
CIE-LCHlch(46.03, 81.68, 330.39°)
OKLaboklab(56.56% 0.2028 -0.1113)
OKLCHoklch(56.56% 0.231 331.2)
XYZxyz(29.4680, 15.2944, 43.5109)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC26B2 #26BC30
analogous
#7B26BC #BC26B2 #BC2667
triadic
#BC26B2 #B2BC26 #26B2BC
tetradic
#BC26B2 #BC7B26 #26BC30 #2667BC
square
#BC26B2 #BC7B26 #26BC30 #2667BC
split-complementary
#BC26B2 #67BC26 #26BC7B
monochromatic
#561152 #891C82 #BC26B2 #DA46D0 #E479DD

Accessibility & contrast

On white

5.17
#BC26B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BC26B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC26B2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC26B2#FFFFFF#000000##FFFFFF
##BC26B21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1160B6
Deuteranopia (green-blind)
#5974AF
Tritanopia (blue-blind)
#C43B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bc26b2;
/* rgb */ color: rgb(188, 38, 178);
/* oklch */ color: oklch(56.6% 0.231 331.2);
Tailwind
colors: {
  custom: {
    50: '#d474c9',
    500: '#bc26b2',
    950: '#000000',
  },
}
SCSS
$custom: #bc26b2;
$custom-light: #d474c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bc26b2",
  "rgb": {
    "r": 188,
    "g": 38,
    "b": 178
  },
  "hsl": {
    "h": 304,
    "s": 66.372,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56561,
    "c": 0.23137,
    "h": 331.2
  },
  "luminance": 0.15292
}

Semantic roles & 50–950 ramp

primary
#BC26B2
secondary
#72CC78
accent
#E94A3F
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BC26B2

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

Preview Lab → · Contrast checker → · Palette generator →

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