#BF31C1#BF31C1

#BF31C1 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.6% C 0.234 H 327.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BF31C1
RGBrgb(191, 49, 193)
HSLhsl(299, 60%, 47%)
HSVhsv(299, 75%, 76%)
CMYKcmyk(1%, 74.6%, 0%, 24.3%)
CIE-LABlab(48.42, 70.93, -45.32)
CIE-LCHlch(48.42, 84.17, 327.43°)
OKLaboklab(58.62% 0.197 -0.1257)
OKLCHoklch(58.62% 0.234 327.4)
XYZxyz(32.2093, 17.1256, 52.0508)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF31C1 #33C131
analogous
#7731C1 #BF31C1 #C1317B
triadic
#BF31C1 #C1BF31 #31C1BF
tetradic
#BF31C1 #C17731 #33C131 #317BC1
square
#BF31C1 #C17731 #33C131 #317BC1
split-complementary
#BF31C1 #7BC131 #31C177
monochromatic
#5E185F #8F2590 #BF31C1 #D35AD5 #E08BE2

Accessibility & contrast

On white

4.75
#BF31C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#BF31C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF31C1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF31C1#FFFFFF#000000##FFFFFF
##BF31C11.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0867C5
Deuteranopia (green-blind)
#5779BD
Tritanopia (blue-blind)
#C54977
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bf31c1;
/* rgb */ color: rgb(191, 49, 193);
/* oklch */ color: oklch(58.6% 0.234 327.4);
Tailwind
colors: {
  custom: {
    50: '#d679d4',
    500: '#bf31c1',
    950: '#000000',
  },
}
SCSS
$custom: #bf31c1;
$custom-light: #d679d4;
$custom-dark: #000000;
JSON
{
  "hex": "#bf31c1",
  "rgb": {
    "r": 191,
    "g": 49,
    "b": 193
  },
  "hsl": {
    "h": 299.167,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58622,
    "c": 0.23371,
    "h": 327.4
  },
  "luminance": 0.17123
}

Semantic roles & 50–950 ramp

primary
#BF31C1
secondary
#83CC82
accent
#E34547
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BF31C1

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

Preview Lab → · Contrast checker → · Palette generator →

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