#BD27BB#BD27BB

#BD27BB is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.3% C 0.237 H 328.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BD27BB
RGBrgb(189, 39, 187)
HSLhsl(301, 66%, 45%)
HSVhsv(301, 79%, 74%)
CMYKcmyk(0%, 79.4%, 1.1%, 25.9%)
CIE-LABlab(46.79, 72.34, -44.43)
CIE-LCHlch(46.79, 84.90, 328.44°)
OKLaboklab(57.29% 0.2029 -0.1232)
OKLCHoklch(57.29% 0.237 328.7)
XYZxyz(30.6811, 15.8601, 48.4494)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD27BB #27BD29
analogous
#7427BD #BD27BB #BD2770
triadic
#BD27BB #BBBD27 #27BBBD
tetradic
#BD27BB #BD7427 #27BD29 #2770BD
square
#BD27BB #BD7427 #27BD29 #2770BD
split-complementary
#BD27BB #70BD27 #27BD74
monochromatic
#581257 #8A1D89 #BD27BB #D948D7 #E47BE2

Accessibility & contrast

On white

5.03
#BD27BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BD27BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD27BB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD27BB#FFFFFF#000000##FFFFFF
##BD27BB1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#5576B7
Tritanopia (blue-blind)
#C34172
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bd27bb;
/* rgb */ color: rgb(189, 39, 187);
/* oklch */ color: oklch(57.3% 0.237 328.7);
Tailwind
colors: {
  custom: {
    50: '#d574d0',
    500: '#bd27bb',
    950: '#000000',
  },
}
SCSS
$custom: #bd27bb;
$custom-light: #d574d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bd27bb",
  "rgb": {
    "r": 189,
    "g": 39,
    "b": 187
  },
  "hsl": {
    "h": 300.8,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57292,
    "c": 0.23738,
    "h": 328.7
  },
  "luminance": 0.15858
}

Semantic roles & 50–950 ramp

primary
#BD27BB
secondary
#74CC75
accent
#E9413F
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BD27BB

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

Preview Lab → · Contrast checker → · Palette generator →

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