#BB51D7#BB51D7

#BB51D7 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.4% C 0.212 H 318.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BB51D7
RGBrgb(187, 81, 215)
HSLhsl(287, 63%, 58%)
HSVhsv(287, 62%, 84%)
CMYKcmyk(13%, 62.3%, 0%, 15.7%)
CIE-LABlab(53.34, 61.88, -50.15)
CIE-LCHlch(53.34, 79.66, 320.98°)
OKLaboklab(62.43% 0.1594 -0.1402)
OKLCHoklch(62.43% 0.212 318.7)
XYZxyz(35.7000, 21.3575, 66.5187)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51D7 #6DD751
analogous
#7851D7 #BB51D7 #D751B0
triadic
#BB51D7 #D7BB51 #51D7BB
tetradic
#BB51D7 #D77851 #6DD751 #51B0D7
square
#BB51D7 #D77851 #6DD751 #51B0D7
split-complementary
#BB51D7 #B0D751 #51D778
monochromatic
#76208D #A02CBF #BB51D7 #CE83E2 #E2B5EE

Accessibility & contrast

On white

3.98
#BB51D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#BB51D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51D7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51D7#FFFFFF#000000##000000
##BB51D71.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A78DB
Deuteranopia (green-blind)
#5883D4
Tritanopia (blue-blind)
#BB688D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb51d7;
/* rgb */ color: rgb(187, 81, 215);
/* oklch */ color: oklch(62.4% 0.212 318.7);
Tailwind
colors: {
  custom: {
    50: '#d388e4',
    500: '#bb51d7',
    950: '#000000',
  },
}
SCSS
$custom: #bb51d7;
$custom-light: #d388e4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51d7",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 287.463,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62435,
    "c": 0.21225,
    "h": 318.7
  },
  "luminance": 0.21356
}

Semantic roles & 50–950 ramp

primary
#BB51D7
secondary
#B2DDA7
accent
#E64264
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C15
muted
#837D84

Preview Lab

Preview with #BB51D7

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

Preview Lab → · Contrast checker → · Palette generator →

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