#BB51CD#BB51CD

#BB51CD is a mid, highly saturated purple. Relative luminance 0.209; OKLCH L 61.9% C 0.203 H 321.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BB51CD
RGBrgb(187, 81, 205)
HSLhsl(291, 55%, 56%)
HSVhsv(291, 60%, 80%)
CMYKcmyk(8.8%, 60.5%, 0%, 19.6%)
CIE-LABlab(52.79, 59.98, -45.32)
CIE-LCHlch(52.79, 75.17, 322.93°)
OKLaboklab(61.87% 0.1591 -0.1261)
OKLCHoklch(61.87% 0.203 321.6)
XYZxyz(34.4542, 20.8591, 59.9572)
Luminance0.2086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51CD #63CD51
analogous
#7D51CD #BB51CD #CD51A1
triadic
#BB51CD #CDBB51 #51CDBB
tetradic
#BB51CD #CD7D51 #63CD51 #51A1CD
square
#BB51CD #CD7D51 #63CD51 #51A1CD
split-complementary
#BB51CD #A1CD51 #51CD7D
monochromatic
#72257F #9D32AF #BB51CD #CE81DB #E0B0E8

Accessibility & contrast

On white

4.06
#BB51CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#BB51CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51CD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51CD#FFFFFF#000000##000000
##BB51CD1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3676D1
Deuteranopia (green-blind)
#5F82CA
Tritanopia (blue-blind)
#BD6488
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb51cd;
/* rgb */ color: rgb(187, 81, 205);
/* oklch */ color: oklch(61.9% 0.203 321.6);
Tailwind
colors: {
  custom: {
    50: '#d288dd',
    500: '#bb51cd',
    950: '#000000',
  },
}
SCSS
$custom: #bb51cd;
$custom-light: #d288dd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51cd",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 291.29,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61865,
    "c": 0.20302,
    "h": 321.6
  },
  "luminance": 0.20857
}

Semantic roles & 50–950 ramp

primary
#BB51CD
secondary
#ABD7A3
accent
#DF495F
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BB51CD

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

Preview Lab → · Contrast checker → · Palette generator →

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