#BD31AF#BD31AF

#BD31AF is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.220 H 332.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BD31AF
RGBrgb(189, 49, 175)
HSLhsl(306, 59%, 47%)
HSVhsv(306, 74%, 74%)
CMYKcmyk(0%, 74.1%, 7.4%, 25.9%)
CIE-LABlab(47.12, 67.68, -36.86)
CIE-LCHlch(47.12, 77.07, 331.43°)
OKLaboklab(57.32% 0.1948 -0.1013)
OKLCHoklch(57.32% 0.22 332.5)
XYZxyz(29.8226, 16.1131, 42.0886)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD31AF #31BD3F
analogous
#8531BD #BD31AF #BD3169
triadic
#BD31AF #AFBD31 #31AFBD
tetradic
#BD31AF #BD8531 #31BD3F #3169BD
square
#BD31AF #BD8531 #31BD3F #3169BD
split-complementary
#BD31AF #69BD31 #31BD85
monochromatic
#5C1855 #8C2482 #BD31AF #D458C7 #E088D7

Accessibility & contrast

On white

4.97
#BD31AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#BD31AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD31AF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD31AF#FFFFFF#000000##FFFFFF
##BD31AF1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B2
Deuteranopia (green-blind)
#5F77AC
Tritanopia (blue-blind)
#C5406D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bd31af;
/* rgb */ color: rgb(189, 49, 175);
/* oklch */ color: oklch(57.3% 0.220 332.5);
Tailwind
colors: {
  custom: {
    50: '#d578c7',
    500: '#bd31af',
    950: '#000000',
  },
}
SCSS
$custom: #bd31af;
$custom-light: #d578c7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd31af",
  "rgb": {
    "r": 189,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 306,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5732,
    "c": 0.21952,
    "h": 332.5
  },
  "luminance": 0.16111
}

Semantic roles & 50–950 ramp

primary
#BD31AF
secondary
#80CA87
accent
#E25546
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BD31AF

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

Preview Lab → · Contrast checker → · Palette generator →

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