#BF31C5#BF31C5

#BF31C5 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.9% C 0.237 H 326.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BF31C5
RGBrgb(191, 49, 197)
HSLhsl(298, 60%, 48%)
HSVhsv(298, 75%, 77%)
CMYKcmyk(3%, 75.1%, 0%, 22.7%)
CIE-LABlab(48.64, 71.58, -47.28)
CIE-LCHlch(48.64, 85.78, 326.56°)
OKLaboklab(58.86% 0.1969 -0.1315)
OKLCHoklch(58.86% 0.237 326.3)
XYZxyz(32.6616, 17.3065, 54.4327)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF31C5 #37C531
analogous
#7531C5 #BF31C5 #C53181
triadic
#BF31C5 #C5BF31 #31C5BF
tetradic
#BF31C5 #C57531 #37C531 #3181C5
square
#BF31C5 #C57531 #37C531 #3181C5
split-complementary
#BF31C5 #81C531 #31C575
monochromatic
#601963 #8F2594 #BF31C5 #D25DD7 #DF8EE3

Accessibility & contrast

On white

4.71
#BF31C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#BF31C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF31C5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF31C5#FFFFFF#000000##FFFFFF
##BF31C51.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#557AC1
Tritanopia (blue-blind)
#C44B7A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bf31c5;
/* rgb */ color: rgb(191, 49, 197);
/* oklch */ color: oklch(58.9% 0.237 326.3);
Tailwind
colors: {
  custom: {
    50: '#d679d7',
    500: '#bf31c5',
    950: '#000000',
  },
}
SCSS
$custom: #bf31c5;
$custom-light: #d679d7;
$custom-dark: #000000;
JSON
{
  "hex": "#bf31c5",
  "rgb": {
    "r": 191,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 297.568,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58856,
    "c": 0.23674,
    "h": 326.3
  },
  "luminance": 0.17304
}

Semantic roles & 50–950 ramp

primary
#BF31C5
secondary
#88CD85
accent
#E3444B
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BF31C5

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

Preview Lab → · Contrast checker → · Palette generator →

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