#BD27B9#BD27B9

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

Color values

HEX#BD27B9
RGBrgb(189, 39, 185)
HSLhsl(302, 66%, 45%)
HSVhsv(302, 79%, 74%)
CMYKcmyk(0%, 79.4%, 2.1%, 25.9%)
CIE-LABlab(46.68, 72.03, -43.44)
CIE-LCHlch(46.68, 84.12, 328.91°)
OKLaboklab(57.18% 0.203 -0.1203)
OKLCHoklch(57.18% 0.236 329.4)
XYZxyz(30.4685, 15.7750, 47.3297)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD27B9 #27BD2B
analogous
#7627BD #BD27B9 #BD276E
triadic
#BD27B9 #B9BD27 #27B9BD
tetradic
#BD27B9 #BD7627 #27BD2B #276EBD
square
#BD27B9 #BD7627 #27BD2B #276EBD
split-complementary
#BD27B9 #6EBD27 #27BD76
monochromatic
#581256 #8A1D87 #BD27B9 #D948D5 #E47BE1

Accessibility & contrast

On white

5.05
#BD27B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BD27B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD27B9
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD27B9#FFFFFF#000000##FFFFFF
##BD27B91.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bd27b9;
/* rgb */ color: rgb(189, 39, 185);
/* oklch */ color: oklch(57.2% 0.236 329.4);
Tailwind
colors: {
  custom: {
    50: '#d574ce',
    500: '#bd27b9',
    950: '#000000',
  },
}
SCSS
$custom: #bd27b9;
$custom-light: #d574ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bd27b9",
  "rgb": {
    "r": 189,
    "g": 39,
    "b": 185
  },
  "hsl": {
    "h": 301.6,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57176,
    "c": 0.23594,
    "h": 329.4
  },
  "luminance": 0.15773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD27B9

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

Preview Lab → · Contrast checker → · Palette generator →

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