#BF51C8#BF51C8

#BF51C8 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.1% C 0.201 H 324.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BF51C8
RGBrgb(191, 81, 200)
HSLhsl(295, 52%, 55%)
HSVhsv(295, 60%, 78%)
CMYKcmyk(4.5%, 59.5%, 0%, 21.6%)
CIE-LABlab(53.10, 60.06, -41.94)
CIE-LCHlch(53.10, 73.25, 325.07°)
OKLaboklab(62.11% 0.1635 -0.1162)
OKLCHoklch(62.11% 0.201 324.6)
XYZxyz(34.8527, 21.1333, 56.8757)
Luminance0.2113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51C8 #5AC851
analogous
#8351C8 #BF51C8 #C85196
triadic
#BF51C8 #C8BF51 #51C8BF
tetradic
#BF51C8 #C88351 #5AC851 #5196C8
square
#BF51C8 #C88351 #5AC851 #5196C8
split-complementary
#BF51C8 #96C851 #51C883
monochromatic
#722679 #9E35A7 #BF51C8 #D080D7 #E1AEE5

Accessibility & contrast

On white

4.02
#BF51C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#BF51C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51C8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51C8#FFFFFF#000000##000000
##BF51C81.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E76CC
Deuteranopia (green-blind)
#6583C5
Tritanopia (blue-blind)
#C36285
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bf51c8;
/* rgb */ color: rgb(191, 81, 200);
/* oklch */ color: oklch(62.1% 0.201 324.6);
Tailwind
colors: {
  custom: {
    50: '#d588d9',
    500: '#bf51c8',
    950: '#000000',
  },
}
SCSS
$custom: #bf51c8;
$custom-light: #d588d9;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51c8",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 295.462,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62114,
    "c": 0.20054,
    "h": 324.6
  },
  "luminance": 0.21131
}

Semantic roles & 50–950 ramp

primary
#BF51C8
secondary
#A5D3A1
accent
#DB4C57
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C15
muted
#837D83

Preview Lab

Preview with #BF51C8

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

Preview Lab → · Contrast checker → · Palette generator →

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