#BD27BA#BD27BA

#BD27BA is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.2% C 0.237 H 329.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BD27BA
RGBrgb(189, 39, 186)
HSLhsl(301, 66%, 45%)
HSVhsv(301, 79%, 74%)
CMYKcmyk(0%, 79.4%, 1.6%, 25.9%)
CIE-LABlab(46.73, 72.19, -43.93)
CIE-LCHlch(46.73, 84.50, 328.67°)
OKLaboklab(57.23% 0.203 -0.1217)
OKLCHoklch(57.23% 0.237 329)
XYZxyz(30.5745, 15.8174, 47.8876)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD27BA #27BD2A
analogous
#7527BD #BD27BA #BD276F
triadic
#BD27BA #BABD27 #27BABD
tetradic
#BD27BA #BD7527 #27BD2A #276FBD
square
#BD27BA #BD7527 #27BD2A #276FBD
split-complementary
#BD27BA #6FBD27 #27BD75
monochromatic
#581256 #8A1D88 #BD27BA #D948D6 #E47BE2

Accessibility & contrast

On white

5.04
#BD27BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#BD27BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD27BA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD27BA#FFFFFF#000000##FFFFFF
##BD27BA1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#5675B6
Tritanopia (blue-blind)
#C44071
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bd27ba;
/* rgb */ color: rgb(189, 39, 186);
/* oklch */ color: oklch(57.2% 0.237 329.0);
Tailwind
colors: {
  custom: {
    50: '#d574cf',
    500: '#bd27ba',
    950: '#000000',
  },
}
SCSS
$custom: #bd27ba;
$custom-light: #d574cf;
$custom-dark: #000000;
JSON
{
  "hex": "#bd27ba",
  "rgb": {
    "r": 189,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 301.2,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57233,
    "c": 0.23666,
    "h": 329
  },
  "luminance": 0.15815
}

Semantic roles & 50–950 ramp

primary
#BD27BA
secondary
#74CC76
accent
#E9423F
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BD27BA

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

Preview Lab → · Contrast checker → · Palette generator →

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