#BD27B0#BD27B0

#BD27B0 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.7% C 0.230 H 332.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BD27B0
RGBrgb(189, 39, 176)
HSLhsl(305, 66%, 45%)
HSVhsv(305, 79%, 74%)
CMYKcmyk(0%, 79.4%, 6.9%, 25.9%)
CIE-LABlab(46.19, 70.67, -38.93)
CIE-LCHlch(46.19, 80.68, 331.15°)
OKLaboklab(56.67% 0.2031 -0.1072)
OKLCHoklch(56.67% 0.23 332.2)
XYZxyz(29.5484, 15.4070, 42.4835)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD27B0 #27BD34
analogous
#7F27BD #BD27B0 #BD2765
triadic
#BD27B0 #B0BD27 #27B0BD
tetradic
#BD27B0 #BD7F27 #27BD34 #2765BD
square
#BD27B0 #BD7F27 #27BD34 #2765BD
split-complementary
#BD27B0 #65BD27 #27BD7F
monochromatic
#581252 #8A1D81 #BD27B0 #D948CD #E47BDB

Accessibility & contrast

On white

5.15
#BD27B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BD27B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD27B0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD27B0#FFFFFF#000000##FFFFFF
##BD27B01.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1960B4
Deuteranopia (green-blind)
#5B75AD
Tritanopia (blue-blind)
#C53B6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd27b0;
/* rgb */ color: rgb(189, 39, 176);
/* oklch */ color: oklch(56.7% 0.230 332.2);
Tailwind
colors: {
  custom: {
    50: '#d574c8',
    500: '#bd27b0',
    950: '#000000',
  },
}
SCSS
$custom: #bd27b0;
$custom-light: #d574c8;
$custom-dark: #000000;
JSON
{
  "hex": "#bd27b0",
  "rgb": {
    "r": 189,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 305.2,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56667,
    "c": 0.22961,
    "h": 332.2
  },
  "luminance": 0.15404
}

Semantic roles & 50–950 ramp

primary
#BD27B0
secondary
#74CC7C
accent
#E94E3F
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BD27B0

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

Preview Lab → · Contrast checker → · Palette generator →

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