#BB51DF#BB51DF

#BB51DF is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 62.9% C 0.220 H 316.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BB51DF
RGBrgb(187, 81, 223)
HSLhsl(285, 69%, 60%)
HSVhsv(285, 64%, 87%)
CMYKcmyk(16.1%, 63.7%, 0%, 12.5%)
CIE-LABlab(53.79, 63.44, -53.97)
CIE-LCHlch(53.79, 83.29, 319.62°)
OKLaboklab(62.91% 0.1593 -0.1513)
OKLCHoklch(62.91% 0.22 316.5)
XYZxyz(36.7532, 21.7788, 72.0654)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51DF #75DF51
analogous
#7451DF #BB51DF #DF51BC
triadic
#BB51DF #DFBB51 #51DFBB
tetradic
#BB51DF #DF7451 #75DF51 #51BCDF
square
#BB51DF #DF7451 #75DF51 #51BCDF
split-complementary
#BB51DF #BCDF51 #51DF74
monochromatic
#7A1C99 #A326CD #BB51DF #CF85E9 #E3B8F2

Accessibility & contrast

On white

3.92
#BB51DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#BB51DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51DF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51DF#FFFFFF#000000##000000
##BB51DF1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7AE3
Deuteranopia (green-blind)
#5284DC
Tritanopia (blue-blind)
#B96B91
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bb51df;
/* rgb */ color: rgb(187, 81, 223);
/* oklch */ color: oklch(62.9% 0.220 316.5);
Tailwind
colors: {
  custom: {
    50: '#d388ea',
    500: '#bb51df',
    950: '#000000',
  },
}
SCSS
$custom: #bb51df;
$custom-light: #d388ea;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51df",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 284.789,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62909,
    "c": 0.21971,
    "h": 316.5
  },
  "luminance": 0.21777
}

Semantic roles & 50–950 ramp

primary
#BB51DF
secondary
#B8E1AA
accent
#EC3C69
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB51DF

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

Preview Lab → · Contrast checker → · Palette generator →

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