#BD51FF#BD51FF

#BD51FF is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 65.2% C 0.251 H 309.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#BD51FF
RGBrgb(189, 81, 255)
HSLhsl(277, 100%, 66%)
HSVhsv(277, 68%, 100%)
CMYKcmyk(25.9%, 68.2%, 0%, 0%)
CIE-LABlab(56.01, 70.37, -68.28)
CIE-LCHlch(56.01, 98.05, 315.86°)
OKLaboklab(65.18% 0.1596 -0.1932)
OKLCHoklch(65.18% 0.251 309.6)
XYZxyz(41.9751, 23.9245, 96.9950)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51FF #93FF51
analogous
#6651FF #BD51FF #FF51EA
triadic
#BD51FF #FFBD51 #51FFBD
tetradic
#BD51FF #FF6651 #93FF51 #51EAFF
square
#BD51FF #FF6651 #93FF51 #51EAFF
split-complementary
#BD51FF #EAFF51 #51FF66
monochromatic
#8500D6 #A614FF #BD51FF #D48EFF #EBCBFF

Accessibility & contrast

On white

3.63
#BD51FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#BD51FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51FF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51FF#FFFFFF#000000##000000
##BD51FF1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#3088FB
Tritanopia (blue-blind)
#B477A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #bd51ff;
/* rgb */ color: rgb(189, 81, 255);
/* oklch */ color: oklch(65.2% 0.251 309.6);
Tailwind
colors: {
  custom: {
    50: '#d68aff',
    500: '#bd51ff',
    950: '#000000',
  },
}
SCSS
$custom: #bd51ff;
$custom-light: #d68aff;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51ff",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 255
  },
  "hsl": {
    "h": 277.241,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65183,
    "c": 0.25063,
    "h": 309.6
  },
  "luminance": 0.23924
}

Semantic roles & 50–950 ramp

primary
#BD51FF
secondary
#CFF3B9
accent
#E60057
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #BD51FF

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

Preview Lab → · Contrast checker → · Palette generator →

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