#BD27B3#BD27B3

#BD27B3 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.8% C 0.232 H 331.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BD27B3
RGBrgb(189, 39, 179)
HSLhsl(304, 66%, 45%)
HSVhsv(304, 79%, 74%)
CMYKcmyk(0%, 79.4%, 5.3%, 25.9%)
CIE-LABlab(46.35, 71.12, -40.44)
CIE-LCHlch(46.35, 81.81, 330.38°)
OKLaboklab(56.83% 0.2031 -0.1116)
OKLCHoklch(56.83% 0.232 331.2)
XYZxyz(29.8485, 15.5270, 44.0640)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD27B3 #27BD31
analogous
#7C27BD #BD27B3 #BD2768
triadic
#BD27B3 #B3BD27 #27B3BD
tetradic
#BD27B3 #BD7C27 #27BD31 #2768BD
square
#BD27B3 #BD7C27 #27BD31 #2768BD
split-complementary
#BD27B3 #68BD27 #27BD7C
monochromatic
#581253 #8A1D83 #BD27B3 #D948D0 #E47BDD

Accessibility & contrast

On white

5.12
#BD27B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BD27B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD27B3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD27B3#FFFFFF#000000##FFFFFF
##BD27B31.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1361B7
Deuteranopia (green-blind)
#5A75B0
Tritanopia (blue-blind)
#C53C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bd27b3;
/* rgb */ color: rgb(189, 39, 179);
/* oklch */ color: oklch(56.8% 0.232 331.2);
Tailwind
colors: {
  custom: {
    50: '#d574ca',
    500: '#bd27b3',
    950: '#000000',
  },
}
SCSS
$custom: #bd27b3;
$custom-light: #d574ca;
$custom-dark: #000000;
JSON
{
  "hex": "#bd27b3",
  "rgb": {
    "r": 189,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 304,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56834,
    "c": 0.2317,
    "h": 331.2
  },
  "luminance": 0.15525
}

Semantic roles & 50–950 ramp

primary
#BD27B3
secondary
#74CC7A
accent
#E94A3F
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BD27B3

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

Preview Lab → · Contrast checker → · Palette generator →

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