#BF31C9#BF31C9

#BF31C9 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.1% C 0.240 H 325.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BF31C9
RGBrgb(191, 49, 201)
HSLhsl(296, 61%, 49%)
HSVhsv(296, 76%, 79%)
CMYKcmyk(5%, 75.6%, 0%, 21.2%)
CIE-LABlab(48.87, 72.24, -49.22)
CIE-LCHlch(48.87, 87.41, 325.73°)
OKLaboklab(59.09% 0.1967 -0.1371)
OKLCHoklch(59.09% 0.24 325.1)
XYZxyz(33.1260, 17.4922, 56.8786)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF31C9 #3BC931
analogous
#7331C9 #BF31C9 #C93187
triadic
#BF31C9 #C9BF31 #31C9BF
tetradic
#BF31C9 #C97331 #3BC931 #3187C9
square
#BF31C9 #C97331 #3BC931 #3187C9
split-complementary
#BF31C9 #87C931 #31C973
monochromatic
#611967 #902598 #BF31C9 #D05FD8 #DF90E4

Accessibility & contrast

On white

4.67
#BF31C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BF31C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BF31C9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF31C9#FFFFFF#000000##FFFFFF
##BF31C91.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#527AC5
Tritanopia (blue-blind)
#C34D7C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bf31c9;
/* rgb */ color: rgb(191, 49, 201);
/* oklch */ color: oklch(59.1% 0.240 325.1);
Tailwind
colors: {
  custom: {
    50: '#d679da',
    500: '#bf31c9',
    950: '#000000',
  },
}
SCSS
$custom: #bf31c9;
$custom-light: #d679da;
$custom-dark: #000000;
JSON
{
  "hex": "#bf31c9",
  "rgb": {
    "r": 191,
    "g": 49,
    "b": 201
  },
  "hsl": {
    "h": 296.053,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59094,
    "c": 0.23977,
    "h": 325.1
  },
  "luminance": 0.1749
}

Semantic roles & 50–950 ramp

primary
#BF31C9
secondary
#8CCF87
accent
#E4444E
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #BF31C9

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

Preview Lab → · Contrast checker → · Palette generator →

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