#BF31B0#BF31B0

#BF31B0 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.221 H 332.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BF31B0
RGBrgb(191, 49, 176)
HSLhsl(306, 59%, 47%)
HSVhsv(306, 74%, 75%)
CMYKcmyk(0%, 74.3%, 7.9%, 25.1%)
CIE-LABlab(47.51, 68.28, -36.82)
CIE-LCHlch(47.51, 77.57, 331.66°)
OKLaboklab(57.68% 0.1968 -0.1011)
OKLCHoklch(57.68% 0.221 332.8)
XYZxyz(30.4208, 16.4101, 42.6312)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF31B0 #31BF40
analogous
#8731BF #BF31B0 #BF3169
triadic
#BF31B0 #B0BF31 #31B0BF
tetradic
#BF31B0 #BF8731 #31BF40 #3169BF
square
#BF31B0 #BF8731 #31BF40 #3169BF
split-complementary
#BF31B0 #69BF31 #31BF87
monochromatic
#5E1856 #8E2583 #BF31B0 #D459C7 #E18AD8

Accessibility & contrast

On white

4.90
#BF31B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BF31B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF31B0
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF31B0#FFFFFF#000000##FFFFFF
##BF31B01.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A64B3
Deuteranopia (green-blind)
#6178AD
Tritanopia (blue-blind)
#C7406E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bf31b0;
/* rgb */ color: rgb(191, 49, 176);
/* oklch */ color: oklch(57.7% 0.221 332.8);
Tailwind
colors: {
  custom: {
    50: '#d678c8',
    500: '#bf31b0',
    950: '#000000',
  },
}
SCSS
$custom: #bf31b0;
$custom-light: #d678c8;
$custom-dark: #000000;
JSON
{
  "hex": "#bf31b0",
  "rgb": {
    "r": 191,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 306.338,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57677,
    "c": 0.22126,
    "h": 332.8
  },
  "luminance": 0.16408
}

Semantic roles & 50–950 ramp

primary
#BF31B0
secondary
#81CB89
accent
#E25645
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BF31B0

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

Preview Lab → · Contrast checker → · Palette generator →

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