#BB51DA#BB51DA

#BB51DA is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.6% C 0.215 H 317.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#BB51DA
RGBrgb(187, 81, 218)
HSLhsl(286, 65%, 59%)
HSVhsv(286, 63%, 85%)
CMYKcmyk(14.2%, 62.8%, 0%, 14.5%)
CIE-LABlab(53.51, 62.46, -51.59)
CIE-LCHlch(53.51, 81.01, 320.45°)
OKLaboklab(62.61% 0.1594 -0.1444)
OKLCHoklch(62.61% 0.215 317.8)
XYZxyz(36.0891, 21.5131, 68.5675)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51DA #70DA51
analogous
#7651DA #BB51DA #DA51B5
triadic
#BB51DA #DABB51 #51DABB
tetradic
#BB51DA #DA7651 #70DA51 #51B5DA
square
#BB51DA #DA7651 #70DA51 #51B5DA
split-complementary
#BB51DA #B5DA51 #51DA76
monochromatic
#781F92 #A12AC4 #BB51DA #CF83E5 #E2B6EF

Accessibility & contrast

On white

3.96
#BB51DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#BB51DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51DA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51DA#FFFFFF#000000##000000
##BB51DA1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2579DE
Deuteranopia (green-blind)
#5683D7
Tritanopia (blue-blind)
#BA698E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bb51da;
/* rgb */ color: rgb(187, 81, 218);
/* oklch */ color: oklch(62.6% 0.215 317.8);
Tailwind
colors: {
  custom: {
    50: '#d388e6',
    500: '#bb51da',
    950: '#000000',
  },
}
SCSS
$custom: #bb51da;
$custom-light: #d388e6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51da",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 286.423,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62611,
    "c": 0.21504,
    "h": 317.8
  },
  "luminance": 0.21512
}

Semantic roles & 50–950 ramp

primary
#BB51DA
secondary
#B5DEA8
accent
#E84066
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB51DA

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

Preview Lab → · Contrast checker → · Palette generator →

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