#BF51D5#BF51D5

#BF51D5 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 62.8% C 0.212 H 320.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BF51D5
RGBrgb(191, 81, 213)
HSLhsl(290, 61%, 58%)
HSVhsv(290, 62%, 84%)
CMYKcmyk(10.3%, 62%, 0%, 16.5%)
CIE-LABlab(53.78, 62.45, -48.28)
CIE-LCHlch(53.78, 78.94, 322.29°)
OKLaboklab(62.83% 0.164 -0.1346)
OKLCHoklch(62.83% 0.212 320.6)
XYZxyz(36.4371, 21.7671, 65.2201)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51D5 #67D551
analogous
#7D51D5 #BF51D5 #D551A9
triadic
#BF51D5 #D5BF51 #51D5BF
tetradic
#BF51D5 #D57D51 #67D551 #51A9D5
square
#BF51D5 #D57D51 #67D551 #51A9D5
split-complementary
#BF51D5 #A9D551 #51D57D
monochromatic
#79218A #A42DBC #BF51D5 #D182E1 #E3B4ED

Accessibility & contrast

On white

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

On black

5.35
#BF51D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51D5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51D5#FFFFFF#000000##000000
##BF51D51.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3079D9
Deuteranopia (green-blind)
#5D85D2
Tritanopia (blue-blind)
#C0668C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bf51d5;
/* rgb */ color: rgb(191, 81, 213);
/* oklch */ color: oklch(62.8% 0.212 320.6);
Tailwind
colors: {
  custom: {
    50: '#d589e2',
    500: '#bf51d5',
    950: '#000000',
  },
}
SCSS
$custom: #bf51d5;
$custom-light: #d589e2;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51d5",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 290,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62832,
    "c": 0.21218,
    "h": 320.6
  },
  "luminance": 0.21765
}

Semantic roles & 50–950 ramp

primary
#BF51D5
secondary
#AFDBA6
accent
#E4445E
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #BF51D5

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

Preview Lab → · Contrast checker → · Palette generator →

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