#BD51F1#BD51F1

#BD51F1 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.3% C 0.237 H 312.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#BD51F1
RGBrgb(189, 81, 241)
HSLhsl(281, 85%, 63%)
HSVhsv(281, 66%, 95%)
CMYKcmyk(21.6%, 66.4%, 0%, 5.5%)
CIE-LABlab(55.13, 67.49, -61.92)
CIE-LCHlch(55.13, 91.59, 317.46°)
OKLaboklab(64.27% 0.1609 -0.1745)
OKLCHoklch(64.27% 0.237 312.7)
XYZxyz(39.8031, 23.0557, 85.5555)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51F1 #85F151
analogous
#6D51F1 #BD51F1 #F151D5
triadic
#BD51F1 #F1BD51 #51F1BD
tetradic
#BD51F1 #F16D51 #85F151 #51D5F1
square
#BD51F1 #F16D51 #85F151 #51D5F1
split-complementary
#BD51F1 #D5F151 #51F16D
monochromatic
#820FB9 #A818EC #BD51F1 #D28AF6 #E8C2FA

Accessibility & contrast

On white

3.74
#BD51F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#BD51F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51F1
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51F1#FFFFFF#000000##000000
##BD51F11.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF6
Deuteranopia (green-blind)
#4486ED
Tritanopia (blue-blind)
#B7719B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #bd51f1;
/* rgb */ color: rgb(189, 81, 241);
/* oklch */ color: oklch(64.3% 0.237 312.7);
Tailwind
colors: {
  custom: {
    50: '#d589f6',
    500: '#bd51f1',
    950: '#000000',
  },
}
SCSS
$custom: #bd51f1;
$custom-light: #d589f6;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51f1",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 241
  },
  "hsl": {
    "h": 280.5,
    "s": 85.106,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6427,
    "c": 0.23739,
    "h": 312.7
  },
  "luminance": 0.23055
}

Semantic roles & 50–950 ramp

primary
#BD51F1
secondary
#C5ECB2
accent
#E2044C
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #BD51F1

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

Preview Lab → · Contrast checker → · Palette generator →

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