#BB51D3#BB51D3

#BB51D3 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.2% C 0.209 H 319.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BB51D3
RGBrgb(187, 81, 211)
HSLhsl(289, 60%, 57%)
HSVhsv(289, 62%, 83%)
CMYKcmyk(11.4%, 61.6%, 0%, 17.3%)
CIE-LABlab(53.12, 61.12, -48.23)
CIE-LCHlch(53.12, 77.85, 321.72°)
OKLaboklab(62.2% 0.1593 -0.1346)
OKLCHoklch(62.2% 0.209 319.8)
XYZxyz(35.1924, 21.1544, 63.8449)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51D3 #69D351
analogous
#7A51D3 #BB51D3 #D351AA
triadic
#BB51D3 #D3BB51 #51D3BB
tetradic
#BB51D3 #D37A51 #69D351 #51AAD3
square
#BB51D3 #D37A51 #69D351 #51AAD3
split-complementary
#BB51D3 #AAD351 #51D37A
monochromatic
#752287 #9F2FB8 #BB51D3 #CE82DF #E1B3EC

Accessibility & contrast

On white

4.01
#BB51D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#BB51D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51D3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51D3#FFFFFF#000000##000000
##BB51D31.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F78D7
Deuteranopia (green-blind)
#5B83D0
Tritanopia (blue-blind)
#BC668B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb51d3;
/* rgb */ color: rgb(187, 81, 211);
/* oklch */ color: oklch(62.2% 0.209 319.8);
Tailwind
colors: {
  custom: {
    50: '#d388e1',
    500: '#bb51d3',
    950: '#000000',
  },
}
SCSS
$custom: #bb51d3;
$custom-light: #d388e1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51d3",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 211
  },
  "hsl": {
    "h": 288.923,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62204,
    "c": 0.20853,
    "h": 319.8
  },
  "luminance": 0.21153
}

Semantic roles & 50–950 ramp

primary
#BB51D3
secondary
#AFDAA6
accent
#E34562
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BB51D3

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

Preview Lab → · Contrast checker → · Palette generator →

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