#BD27AF#BD27AF

#BD27AF is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.6% C 0.229 H 332.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BD27AF
RGBrgb(189, 39, 175)
HSLhsl(306, 66%, 45%)
HSVhsv(306, 79%, 74%)
CMYKcmyk(0%, 79.4%, 7.4%, 25.9%)
CIE-LABlab(46.13, 70.52, -38.42)
CIE-LCHlch(46.13, 80.31, 331.42°)
OKLaboklab(56.61% 0.203 -0.1057)
OKLCHoklch(56.61% 0.229 332.5)
XYZxyz(29.4498, 15.3675, 41.9643)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD27AF #27BD35
analogous
#8027BD #BD27AF #BD2764
triadic
#BD27AF #AFBD27 #27AFBD
tetradic
#BD27AF #BD8027 #27BD35 #2764BD
square
#BD27AF #BD8027 #27BD35 #2764BD
split-complementary
#BD27AF #64BD27 #27BD80
monochromatic
#581251 #8A1D80 #BD27AF #D948CC #E47BDA

Accessibility & contrast

On white

5.16
#BD27AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BD27AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD27AF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD27AF#FFFFFF#000000##FFFFFF
##BD27AF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B60B3
Deuteranopia (green-blind)
#5C75AC
Tritanopia (blue-blind)
#C53A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd27af;
/* rgb */ color: rgb(189, 39, 175);
/* oklch */ color: oklch(56.6% 0.229 332.5);
Tailwind
colors: {
  custom: {
    50: '#d574c7',
    500: '#bd27af',
    950: '#000000',
  },
}
SCSS
$custom: #bd27af;
$custom-light: #d574c7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd27af",
  "rgb": {
    "r": 189,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 305.6,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56612,
    "c": 0.22892,
    "h": 332.5
  },
  "luminance": 0.15365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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