#BC27E2#BC27E2

#BC27E2 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.6% C 0.266 H 317.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BC27E2
RGBrgb(188, 39, 226)
HSLhsl(288, 76%, 52%)
HSVhsv(288, 83%, 89%)
CMYKcmyk(16.8%, 82.7%, 0%, 11.4%)
CIE-LABlab(49.05, 78.64, -63.28)
CIE-LCHlch(49.05, 100.94, 321.18°)
OKLaboklab(59.63% 0.1975 -0.1783)
OKLCHoklch(59.63% 0.266 317.9)
XYZxyz(35.1901, 17.6351, 73.4871)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC27E2 #4DE227
analogous
#5E27E2 #BC27E2 #E227AB
triadic
#BC27E2 #E2BC27 #27E2BC
tetradic
#BC27E2 #E25E27 #4DE227 #27ABE2
square
#BC27E2 #E25E27 #4DE227 #27ABE2
split-complementary
#BC27E2 #ABE227 #27E25E
monochromatic
#68117E #9418B4 #BC27E2 #CD5DE9 #DD93F0

Accessibility & contrast

On white

4.64
#BC27E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#BC27E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BC27E2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC27E2#FFFFFF#000000##FFFFFF
##BC27E21.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#2F79DE
Tritanopia (blue-blind)
#BA5588
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bc27e2;
/* rgb */ color: rgb(188, 39, 226);
/* oklch */ color: oklch(59.6% 0.266 317.9);
Tailwind
colors: {
  custom: {
    50: '#d576ec',
    500: '#bc27e2',
    950: '#000000',
  },
}
SCSS
$custom: #bc27e2;
$custom-light: #d576ec;
$custom-dark: #000000;
JSON
{
  "hex": "#bc27e2",
  "rgb": {
    "r": 188,
    "g": 39,
    "b": 226
  },
  "hsl": {
    "h": 287.807,
    "s": 76.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59626,
    "c": 0.26607,
    "h": 317.9
  },
  "luminance": 0.17633
}

Semantic roles & 50–950 ramp

primary
#BC27E2
secondary
#9ADB89
accent
#F3355C
background
#FDF7FE
surface
#FBEEFD
border
#D4C9D5
text
#150A16
muted
#837C84

Preview Lab

Preview with #BC27E2

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

Preview Lab → · Contrast checker → · Palette generator →

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