#BF51AF#BF51AF

#BF51AF is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.9% C 0.179 H 333.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BF51AF
RGBrgb(191, 81, 175)
HSLhsl(309, 46%, 53%)
HSVhsv(309, 58%, 75%)
CMYKcmyk(0%, 57.6%, 8.4%, 25.1%)
CIE-LABlab(51.90, 55.75, -29.35)
CIE-LCHlch(51.90, 63.00, 332.24°)
OKLaboklab(60.86% 0.1606 -0.08)
OKLCHoklch(60.86% 0.179 333.5)
XYZxyz(32.1662, 20.0587, 42.7267)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51AF #51BF61
analogous
#9851BF #BF51AF #BF5178
triadic
#BF51AF #AFBF51 #51AFBF
tetradic
#BF51AF #BF9851 #51BF61 #5178BF
square
#BF51AF #BF9851 #51BF61 #5178BF
split-complementary
#BF51AF #78BF51 #51BF98
monochromatic
#6D2863 #9A398C #BF51AF #CF7EC4 #E0AAD8

Accessibility & contrast

On white

4.19
#BF51AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#BF51AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51AF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51AF#FFFFFF#000000##000000
##BF51AF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F72B2
Deuteranopia (green-blind)
#7182AC
Tritanopia (blue-blind)
#C75979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bf51af;
/* rgb */ color: rgb(191, 81, 175);
/* oklch */ color: oklch(60.9% 0.179 333.5);
Tailwind
colors: {
  custom: {
    50: '#d588c7',
    500: '#bf51af',
    950: '#000000',
  },
}
SCSS
$custom: #bf51af;
$custom-light: #d588c7;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51af",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 308.727,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60855,
    "c": 0.17943,
    "h": 333.5
  },
  "luminance": 0.20056
}

Semantic roles & 50–950 ramp

primary
#BF51AF
secondary
#9ECEA5
accent
#D66552
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #BF51AF

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

Preview Lab → · Contrast checker → · Palette generator →

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