#BD51FC#BD51FC

#BD51FC is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 65.0% C 0.248 H 310.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#BD51FC
RGBrgb(189, 81, 252)
HSLhsl(278, 97%, 65%)
HSVhsv(278, 68%, 99%)
CMYKcmyk(25%, 67.9%, 0%, 1.2%)
CIE-LABlab(55.82, 69.74, -66.93)
CIE-LCHlch(55.82, 96.66, 316.18°)
OKLaboklab(64.98% 0.1599 -0.1893)
OKLCHoklch(64.98% 0.248 310.2)
XYZxyz(41.4960, 23.7328, 94.4715)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51FC #90FC51
analogous
#6851FC #BD51FC #FC51E5
triadic
#BD51FC #FCBD51 #51FCBD
tetradic
#BD51FC #FC6851 #90FC51 #51E5FC
square
#BD51FC #FC6851 #90FC51 #51E5FC
split-complementary
#BD51FC #E5FC51 #51FC68
monochromatic
#8404CF #A615FB #BD51FC #D48DFD #EBC9FE

Accessibility & contrast

On white

3.65
#BD51FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#BD51FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51FC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51FC#FFFFFF#000000##000000
##BD51FC1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#3587F8
Tritanopia (blue-blind)
#B476A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #bd51fc;
/* rgb */ color: rgb(189, 81, 252);
/* oklch */ color: oklch(65.0% 0.248 310.2);
Tailwind
colors: {
  custom: {
    50: '#d68afe',
    500: '#bd51fc',
    950: '#000000',
  },
}
SCSS
$custom: #bd51fc;
$custom-light: #d68afe;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51fc",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 252
  },
  "hsl": {
    "h": 277.895,
    "s": 96.61,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64984,
    "c": 0.24778,
    "h": 310.2
  },
  "luminance": 0.23732
}

Semantic roles & 50–950 ramp

primary
#BD51FC
secondary
#CDF1B8
accent
#E60055
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #BD51FC

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

Preview Lab → · Contrast checker → · Palette generator →

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