#BF51C2#BF51C2

#BF51C2 is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.8% C 0.195 H 326.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BF51C2
RGBrgb(191, 81, 194)
HSLhsl(298, 48%, 54%)
HSVhsv(298, 58%, 76%)
CMYKcmyk(1.5%, 58.2%, 0%, 23.9%)
CIE-LABlab(52.79, 58.98, -38.97)
CIE-LCHlch(52.79, 70.69, 326.55°)
OKLaboklab(61.8% 0.163 -0.1076)
OKLCHoklch(61.8% 0.195 326.6)
XYZxyz(34.1653, 20.8583, 53.2550)
Luminance0.2086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51C2 #54C251
analogous
#8751C2 #BF51C2 #C2518D
triadic
#BF51C2 #C2BF51 #51C2BF
tetradic
#BF51C2 #C28751 #54C251 #518DC2
square
#BF51C2 #C28751 #54C251 #518DC2
split-complementary
#BF51C2 #8DC251 #51C287
monochromatic
#6F2871 #9C379E #BF51C2 #D07ED2 #E0ACE2

Accessibility & contrast

On white

4.06
#BF51C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#BF51C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51C2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51C2#FFFFFF#000000##000000
##BF51C21.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4375C6
Deuteranopia (green-blind)
#6883BF
Tritanopia (blue-blind)
#C45F82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bf51c2;
/* rgb */ color: rgb(191, 81, 194);
/* oklch */ color: oklch(61.8% 0.195 326.6);
Tailwind
colors: {
  custom: {
    50: '#d588d5',
    500: '#bf51c2',
    950: '#000000',
  },
}
SCSS
$custom: #bf51c2;
$custom-light: #d588d5;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51c2",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 298.407,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61797,
    "c": 0.19529,
    "h": 326.6
  },
  "luminance": 0.20856
}

Semantic roles & 50–950 ramp

primary
#BF51C2
secondary
#A1D09F
accent
#D85054
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #BF51C2

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

Preview Lab → · Contrast checker → · Palette generator →

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