#BB4DD7#BB4DD7

#BB4DD7 is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 62.0% C 0.218 H 318.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BB4DD7
RGBrgb(187, 77, 215)
HSLhsl(288, 63%, 57%)
HSVhsv(288, 64%, 84%)
CMYKcmyk(13%, 64.2%, 0%, 15.7%)
CIE-LABlab(52.71, 63.62, -51.16)
CIE-LCHlch(52.71, 81.64, 321.20°)
OKLaboklab(61.98% 0.164 -0.1431)
OKLCHoklch(61.98% 0.218 318.9)
XYZxyz(35.4115, 20.7804, 66.4225)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4DD7 #69D74D
analogous
#764DD7 #BB4DD7 #D74DAE
triadic
#BB4DD7 #D7BB4D #4DD7BB
tetradic
#BB4DD7 #D7764D #69D74D #4DAED7
square
#BB4DD7 #D7764D #69D74D #4DAED7
split-complementary
#BB4DD7 #AED74D #4DD776
monochromatic
#751F8A #9F2ABC #BB4DD7 #CE7FE2 #E1B1ED

Accessibility & contrast

On white

4.07
#BB4DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#BB4DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4DD7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4DD7#FFFFFF#000000##000000
##BB4DD71.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2076DB
Deuteranopia (green-blind)
#5581D4
Tritanopia (blue-blind)
#BB658B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb4dd7;
/* rgb */ color: rgb(187, 77, 215);
/* oklch */ color: oklch(62.0% 0.218 318.9);
Tailwind
colors: {
  custom: {
    50: '#d386e4',
    500: '#bb4dd7',
    950: '#000000',
  },
}
SCSS
$custom: #bb4dd7;
$custom-light: #d386e4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4dd7",
  "rgb": {
    "r": 187,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 287.826,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6198,
    "c": 0.21763,
    "h": 318.9
  },
  "luminance": 0.20779
}

Semantic roles & 50–950 ramp

primary
#BB4DD7
secondary
#AFDCA4
accent
#E64163
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB4DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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