#BF51B2#BF51B2

#BF51B2 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.0% C 0.182 H 332.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BF51B2
RGBrgb(191, 81, 178)
HSLhsl(307, 46%, 53%)
HSVhsv(307, 58%, 75%)
CMYKcmyk(0%, 57.6%, 6.8%, 25.1%)
CIE-LABlab(52.04, 56.24, -30.89)
CIE-LCHlch(52.04, 64.17, 331.23°)
OKLaboklab(61% 0.1611 -0.0843)
OKLCHoklch(61% 0.182 332.4)
XYZxyz(32.4641, 20.1779, 44.2957)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51B2 #51BF5E
analogous
#9551BF #BF51B2 #BF517B
triadic
#BF51B2 #B2BF51 #51B2BF
tetradic
#BF51B2 #BF9551 #51BF5E #517BBF
square
#BF51B2 #BF9551 #51BF5E #517BBF
split-complementary
#BF51B2 #7BBF51 #51BF95
monochromatic
#6D2865 #9A398F #BF51B2 #CF7EC6 #E0AADA

Accessibility & contrast

On white

4.17
#BF51B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#BF51B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51B2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51B2#FFFFFF#000000##000000
##BF51B21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#7082AF
Tritanopia (blue-blind)
#C75A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bf51b2;
/* rgb */ color: rgb(191, 81, 178);
/* oklch */ color: oklch(61.0% 0.182 332.4);
Tailwind
colors: {
  custom: {
    50: '#d588c9',
    500: '#bf51b2',
    950: '#000000',
  },
}
SCSS
$custom: #bf51b2;
$custom-light: #d588c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51b2",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 307.091,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60997,
    "c": 0.18184,
    "h": 332.4
  },
  "luminance": 0.20176
}

Semantic roles & 50–950 ramp

primary
#BF51B2
secondary
#9ECEA4
accent
#D66252
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #BF51B2

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

Preview Lab → · Contrast checker → · Palette generator →

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