#BF31BD#BF31BD

#BF31BD is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.4% C 0.231 H 328.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BF31BD
RGBrgb(191, 49, 189)
HSLhsl(301, 59%, 47%)
HSVhsv(301, 74%, 75%)
CMYKcmyk(0%, 74.3%, 1%, 25.1%)
CIE-LABlab(48.20, 70.29, -43.34)
CIE-LCHlch(48.20, 82.58, 328.34°)
OKLaboklab(58.39% 0.1971 -0.12)
OKLCHoklch(58.39% 0.231 328.7)
XYZxyz(31.7692, 16.9495, 49.7326)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF31BD #31BF33
analogous
#7A31BF #BF31BD #BF3176
triadic
#BF31BD #BDBF31 #31BDBF
tetradic
#BF31BD #BF7A31 #31BF33 #3176BF
square
#BF31BD #BF7A31 #31BF33 #3176BF
split-complementary
#BF31BD #76BF31 #31BF7A
monochromatic
#5E185D #8E258D #BF31BD #D459D3 #E18AE0

Accessibility & contrast

On white

4.78
#BF31BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BF31BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF31BD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF31BD#FFFFFF#000000##FFFFFF
##BF31BD1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1567C1
Deuteranopia (green-blind)
#5A79BA
Tritanopia (blue-blind)
#C54775
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bf31bd;
/* rgb */ color: rgb(191, 49, 189);
/* oklch */ color: oklch(58.4% 0.231 328.7);
Tailwind
colors: {
  custom: {
    50: '#d678d1',
    500: '#bf31bd',
    950: '#000000',
  },
}
SCSS
$custom: #bf31bd;
$custom-light: #d678d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bf31bd",
  "rgb": {
    "r": 191,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 300.845,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58392,
    "c": 0.23073,
    "h": 328.7
  },
  "luminance": 0.16947
}

Semantic roles & 50–950 ramp

primary
#BF31BD
secondary
#81CB82
accent
#E24845
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BF31BD

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

Preview Lab → · Contrast checker → · Palette generator →

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