#BD27C4#BD27C4

#BD27C4 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.8% C 0.244 H 326.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BD27C4
RGBrgb(189, 39, 196)
HSLhsl(297, 67%, 46%)
HSVhsv(297, 80%, 77%)
CMYKcmyk(3.6%, 80.1%, 0%, 23.1%)
CIE-LABlab(47.31, 73.76, -48.84)
CIE-LCHlch(47.31, 88.47, 326.49°)
OKLaboklab(57.83% 0.2025 -0.136)
OKLCHoklch(57.83% 0.244 326.1)
XYZxyz(31.6750, 16.2576, 53.6836)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD27C4 #2EC427
analogous
#6E27C4 #BD27C4 #C4277C
triadic
#BD27C4 #C4BD27 #27C4BD
tetradic
#BD27C4 #C46E27 #2EC427 #277CC4
square
#BD27C4 #C46E27 #2EC427 #277CC4
split-complementary
#BD27C4 #7CC427 #27C46E
monochromatic
#5B135E #8C1D91 #BD27C4 #D54DDC #E180E6

Accessibility & contrast

On white

4.94
#BD27C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#BD27C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD27C4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD27C4#FFFFFF#000000##FFFFFF
##BD27C41.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#4F76C0
Tritanopia (blue-blind)
#C24677
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bd27c4;
/* rgb */ color: rgb(189, 39, 196);
/* oklch */ color: oklch(57.8% 0.244 326.1);
Tailwind
colors: {
  custom: {
    50: '#d575d6',
    500: '#bd27c4',
    950: '#000000',
  },
}
SCSS
$custom: #bd27c4;
$custom-light: #d575d6;
$custom-dark: #000000;
JSON
{
  "hex": "#bd27c4",
  "rgb": {
    "r": 189,
    "g": 39,
    "b": 196
  },
  "hsl": {
    "h": 297.325,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57828,
    "c": 0.2439,
    "h": 326.1
  },
  "luminance": 0.16255
}

Semantic roles & 50–950 ramp

primary
#BD27C4
secondary
#7CCE79
accent
#EA3E46
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BD27C4

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

Preview Lab → · Contrast checker → · Palette generator →

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