#BB51D5#BB51D5

#BB51D5 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.3% C 0.210 H 319.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BB51D5
RGBrgb(187, 81, 213)
HSLhsl(288, 61%, 58%)
HSVhsv(288, 62%, 84%)
CMYKcmyk(12.2%, 62%, 0%, 16.5%)
CIE-LABlab(53.23, 61.50, -49.19)
CIE-LCHlch(53.23, 78.75, 321.34°)
OKLaboklab(62.32% 0.1594 -0.1374)
OKLCHoklch(62.32% 0.21 319.2)
XYZxyz(35.4446, 21.2553, 65.1735)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51D5 #6BD551
analogous
#7951D5 #BB51D5 #D551AD
triadic
#BB51D5 #D5BB51 #51D5BB
tetradic
#BB51D5 #D57951 #6BD551 #51ADD5
square
#BB51D5 #D57951 #6BD551 #51ADD5
split-complementary
#BB51D5 #ADD551 #51D579
monochromatic
#76218A #A02DBC #BB51D5 #CE82E1 #E2B4ED

Accessibility & contrast

On white

4.00
#BB51D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#BB51D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51D5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51D5#FFFFFF#000000##000000
##BB51D51.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D78D9
Deuteranopia (green-blind)
#5A83D2
Tritanopia (blue-blind)
#BB678C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb51d5;
/* rgb */ color: rgb(187, 81, 213);
/* oklch */ color: oklch(62.3% 0.210 319.2);
Tailwind
colors: {
  custom: {
    50: '#d388e2',
    500: '#bb51d5',
    950: '#000000',
  },
}
SCSS
$custom: #bb51d5;
$custom-light: #d388e2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51d5",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 288.182,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62319,
    "c": 0.21039,
    "h": 319.2
  },
  "luminance": 0.21254
}

Semantic roles & 50–950 ramp

primary
#BB51D5
secondary
#B1DBA6
accent
#E44463
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BB51D5

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

Preview Lab → · Contrast checker → · Palette generator →

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