#BF31AD#BF31AD

#BF31AD is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.5% C 0.219 H 333.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BF31AD
RGBrgb(191, 49, 173)
HSLhsl(308, 59%, 47%)
HSVhsv(308, 74%, 75%)
CMYKcmyk(0%, 74.3%, 9.4%, 25.1%)
CIE-LABlab(47.36, 67.83, -35.29)
CIE-LCHlch(47.36, 76.46, 332.51°)
OKLaboklab(57.52% 0.1966 -0.0967)
OKLCHoklch(57.52% 0.219 333.8)
XYZxyz(30.1272, 16.2927, 41.0852)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF31AD #31BF43
analogous
#8A31BF #BF31AD #BF3166
triadic
#BF31AD #ADBF31 #31ADBF
tetradic
#BF31AD #BF8A31 #31BF43 #3166BF
square
#BF31AD #BF8A31 #31BF43 #3166BF
split-complementary
#BF31AD #66BF31 #31BF8A
monochromatic
#5E1855 #8E2581 #BF31AD #D459C5 #E18AD6

Accessibility & contrast

On white

4.93
#BF31AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#BF31AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF31AD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF31AD#FFFFFF#000000##FFFFFF
##BF31AD1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D63B0
Deuteranopia (green-blind)
#6278AA
Tritanopia (blue-blind)
#C83F6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bf31ad;
/* rgb */ color: rgb(191, 49, 173);
/* oklch */ color: oklch(57.5% 0.219 333.8);
Tailwind
colors: {
  custom: {
    50: '#d678c6',
    500: '#bf31ad',
    950: '#000000',
  },
}
SCSS
$custom: #bf31ad;
$custom-light: #d678c6;
$custom-dark: #000000;
JSON
{
  "hex": "#bf31ad",
  "rgb": {
    "r": 191,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 307.606,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57519,
    "c": 0.21914,
    "h": 333.8
  },
  "luminance": 0.1629
}

Semantic roles & 50–950 ramp

primary
#BF31AD
secondary
#81CB8A
accent
#E25945
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BF31AD

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

Preview Lab → · Contrast checker → · Palette generator →

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