#BF51D2#BF51D2

#BF51D2 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.7% C 0.209 H 321.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#BF51D2
RGBrgb(191, 81, 210)
HSLhsl(291, 59%, 57%)
HSVhsv(291, 61%, 82%)
CMYKcmyk(9%, 61.4%, 0%, 17.6%)
CIE-LABlab(53.62, 61.89, -46.83)
CIE-LCHlch(53.62, 77.61, 322.88°)
OKLaboklab(62.66% 0.164 -0.1304)
OKLCHoklch(62.66% 0.209 321.5)
XYZxyz(36.0599, 21.6162, 63.2332)
Luminance0.2161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51D2 #64D251
analogous
#7F51D2 #BF51D2 #D251A4
triadic
#BF51D2 #D2BF51 #51D2BF
tetradic
#BF51D2 #D27F51 #64D251 #51A4D2
square
#BF51D2 #D27F51 #64D251 #51A4D2
split-complementary
#BF51D2 #A4D251 #51D27F
monochromatic
#772386 #A32FB7 #BF51D2 #D182DF #E3B2EB

Accessibility & contrast

On white

3.95
#BF51D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#BF51D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51D2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51D2#FFFFFF#000000##000000
##BF51D21.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3478D6
Deuteranopia (green-blind)
#5F84CF
Tritanopia (blue-blind)
#C1658A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bf51d2;
/* rgb */ color: rgb(191, 81, 210);
/* oklch */ color: oklch(62.7% 0.209 321.5);
Tailwind
colors: {
  custom: {
    50: '#d588e0',
    500: '#bf51d2',
    950: '#000000',
  },
}
SCSS
$custom: #bf51d2;
$custom-light: #d588e0;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51d2",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 291.163,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62663,
    "c": 0.20948,
    "h": 321.5
  },
  "luminance": 0.21614
}

Semantic roles & 50–950 ramp

primary
#BF51D2
secondary
#ADDAA5
accent
#E2465D
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #BF51D2

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

Preview Lab → · Contrast checker → · Palette generator →

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