#BB51D2#BB51D2

#BB51D2 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.1% C 0.208 H 320.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BB51D2
RGBrgb(187, 81, 210)
HSLhsl(289, 59%, 57%)
HSVhsv(289, 61%, 82%)
CMYKcmyk(11%, 61.4%, 0%, 17.6%)
CIE-LABlab(53.06, 60.92, -47.75)
CIE-LCHlch(53.06, 77.40, 321.91°)
OKLaboklab(62.15% 0.1593 -0.1332)
OKLCHoklch(62.15% 0.208 320.1)
XYZxyz(35.0674, 21.1044, 63.1867)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51D2 #68D251
analogous
#7A51D2 #BB51D2 #D251A9
triadic
#BB51D2 #D2BB51 #51D2BB
tetradic
#BB51D2 #D27A51 #68D251 #51A9D2
square
#BB51D2 #D27A51 #68D251 #51A9D2
split-complementary
#BB51D2 #A9D251 #51D27A
monochromatic
#742386 #9E2FB7 #BB51D2 #CE82DF #E1B2EB

Accessibility & contrast

On white

4.02
#BB51D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#BB51D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51D2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51D2#FFFFFF#000000##000000
##BB51D21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3177D6
Deuteranopia (green-blind)
#5C82CF
Tritanopia (blue-blind)
#BC668A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb51d2;
/* rgb */ color: rgb(187, 81, 210);
/* oklch */ color: oklch(62.1% 0.208 320.1);
Tailwind
colors: {
  custom: {
    50: '#d388e0',
    500: '#bb51d2',
    950: '#000000',
  },
}
SCSS
$custom: #bb51d2;
$custom-light: #d388e0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51d2",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 289.302,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62147,
    "c": 0.20762,
    "h": 320.1
  },
  "luminance": 0.21103
}

Semantic roles & 50–950 ramp

primary
#BB51D2
secondary
#AFDAA5
accent
#E24662
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BB51D2

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

Preview Lab → · Contrast checker → · Palette generator →

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