#BF31A9#BF31A9

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

Color values

HEX#BF31A9
RGBrgb(191, 49, 169)
HSLhsl(309, 59%, 47%)
HSVhsv(309, 74%, 75%)
CMYKcmyk(0%, 74.3%, 11.5%, 25.1%)
CIE-LABlab(47.16, 67.24, -33.24)
CIE-LCHlch(47.16, 75.00, 333.70°)
OKLaboklab(57.31% 0.1964 -0.0908)
OKLCHoklch(57.31% 0.216 335.2)
XYZxyz(29.7460, 16.1402, 39.0772)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF31A9 #31BF47
analogous
#8E31BF #BF31A9 #BF3162
triadic
#BF31A9 #A9BF31 #31A9BF
tetradic
#BF31A9 #BF8E31 #31BF47 #3162BF
square
#BF31A9 #BF8E31 #31BF47 #3162BF
split-complementary
#BF31A9 #62BF31 #31BF8E
monochromatic
#5E1853 #8E257E #BF31A9 #D459C1 #E18AD3

Accessibility & contrast

On white

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

On black

4.23
#BF31A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BF31A9#FFFFFF#000000##FFFFFF
##BF31A91.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AC
Deuteranopia (green-blind)
#6477A6
Tritanopia (blue-blind)
#C93D6A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bf31a9;
/* rgb */ color: rgb(191, 49, 169);
/* oklch */ color: oklch(57.3% 0.216 335.2);
Tailwind
colors: {
  custom: {
    50: '#d678c3',
    500: '#bf31a9',
    950: '#000000',
  },
}
SCSS
$custom: #bf31a9;
$custom-light: #d678c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bf31a9",
  "rgb": {
    "r": 191,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 309.296,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57312,
    "c": 0.21635,
    "h": 335.2
  },
  "luminance": 0.16138
}

Semantic roles & 50–950 ramp

primary
#BF31A9
secondary
#81CB8C
accent
#E25E45
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BF31A9

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

Preview Lab → · Contrast checker → · Palette generator →

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