#BF51D6#BF51D6

#BF51D6 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 62.9% C 0.213 H 320.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BF51D6
RGBrgb(191, 81, 214)
HSLhsl(290, 62%, 58%)
HSVhsv(290, 62%, 84%)
CMYKcmyk(10.7%, 62.1%, 0%, 16.1%)
CIE-LABlab(53.83, 62.64, -48.77)
CIE-LCHlch(53.83, 79.38, 322.10°)
OKLaboklab(62.89% 0.164 -0.136)
OKLCHoklch(62.89% 0.213 320.3)
XYZxyz(36.5644, 21.8180, 65.8906)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51D6 #68D651
analogous
#7C51D6 #BF51D6 #D651AA
triadic
#BF51D6 #D6BF51 #51D6BF
tetradic
#BF51D6 #D67C51 #68D651 #51AAD6
square
#BF51D6 #D67C51 #68D651 #51AAD6
split-complementary
#BF51D6 #AAD651 #51D67C
monochromatic
#79218C #A42DBD #BF51D6 #D183E2 #E3B4ED

Accessibility & contrast

On white

3.92
#BF51D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#BF51D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51D6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51D6#FFFFFF#000000##000000
##BF51D61.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F79DA
Deuteranopia (green-blind)
#5D85D3
Tritanopia (blue-blind)
#C0678C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bf51d6;
/* rgb */ color: rgb(191, 81, 214);
/* oklch */ color: oklch(62.9% 0.213 320.3);
Tailwind
colors: {
  custom: {
    50: '#d589e3',
    500: '#bf51d6',
    950: '#000000',
  },
}
SCSS
$custom: #bf51d6;
$custom-light: #d589e3;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51d6",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 289.624,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62889,
    "c": 0.2131,
    "h": 320.3
  },
  "luminance": 0.21816
}

Semantic roles & 50–950 ramp

primary
#BF51D6
secondary
#B0DCA7
accent
#E5435F
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #BF51D6

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

Preview Lab → · Contrast checker → · Palette generator →

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