#BB2DD7#BB2DD7

#BB2DD7 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 59.1% C 0.253 H 320.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BB2DD7
RGBrgb(187, 45, 215)
HSLhsl(290, 68%, 51%)
HSVhsv(290, 79%, 84%)
CMYKcmyk(13%, 79.1%, 0%, 15.7%)
CIE-LABlab(48.70, 75.01, -57.59)
CIE-LCHlch(48.70, 94.56, 322.48°)
OKLaboklab(59.12% 0.1941 -0.1617)
OKLCHoklch(59.12% 0.253 320.2)
XYZxyz(33.6961, 17.3497, 65.8507)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2DD7 #49D72D
analogous
#662DD7 #BB2DD7 #D72D9E
triadic
#BB2DD7 #D7BB2D #2DD7BB
tetradic
#BB2DD7 #D7662D #49D72D #2D9ED7
square
#BB2DD7 #D7662D #49D72D #2D9ED7
split-complementary
#BB2DD7 #9ED72D #2DD766
monochromatic
#641674 #9120A7 #BB2DD7 #CC60E1 #DC94EB

Accessibility & contrast

On white

4.70
#BB2DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#BB2DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2DD7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2DD7#FFFFFF#000000##FFFFFF
##BB2DD71.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#3F78D3
Tritanopia (blue-blind)
#BC5383
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bb2dd7;
/* rgb */ color: rgb(187, 45, 215);
/* oklch */ color: oklch(59.1% 0.253 320.2);
Tailwind
colors: {
  custom: {
    50: '#d477e4',
    500: '#bb2dd7',
    950: '#000000',
  },
}
SCSS
$custom: #bb2dd7;
$custom-light: #d477e4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2dd7",
  "rgb": {
    "r": 187,
    "g": 45,
    "b": 215
  },
  "hsl": {
    "h": 290.118,
    "s": 68,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59118,
    "c": 0.25259,
    "h": 320.2
  },
  "luminance": 0.17348
}

Semantic roles & 50–950 ramp

primary
#BB2DD7
secondary
#97D68A
accent
#EB3D5A
background
#FDF7FE
surface
#FBEEFC
border
#D4C9D5
text
#150A16
muted
#837C84

Preview Lab

Preview with #BB2DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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