#BB2ED7#BB2ED7

#BB2ED7 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 59.2% C 0.252 H 320.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BB2ED7
RGBrgb(187, 46, 215)
HSLhsl(290, 68%, 51%)
HSVhsv(290, 79%, 84%)
CMYKcmyk(13%, 78.6%, 0%, 15.7%)
CIE-LABlab(48.79, 74.73, -57.43)
CIE-LCHlch(48.79, 94.25, 322.46°)
OKLaboklab(59.19% 0.1933 -0.1612)
OKLCHoklch(59.19% 0.252 320.2)
XYZxyz(33.7347, 17.4269, 65.8636)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2ED7 #4AD72E
analogous
#662ED7 #BB2ED7 #D72E9E
triadic
#BB2ED7 #D7BB2E #2ED7BB
tetradic
#BB2ED7 #D7662E #4AD72E #2E9ED7
square
#BB2ED7 #D7662E #4AD72E #2E9ED7
split-complementary
#BB2ED7 #9ED72E #2ED766
monochromatic
#651674 #9120A8 #BB2ED7 #CC61E1 #DC95EB

Accessibility & contrast

On white

4.68
#BB2ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#BB2ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2ED7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2ED7#FFFFFF#000000##FFFFFF
##BB2ED71.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#4079D3
Tritanopia (blue-blind)
#BC5383
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bb2ed7;
/* rgb */ color: rgb(187, 46, 215);
/* oklch */ color: oklch(59.2% 0.252 320.2);
Tailwind
colors: {
  custom: {
    50: '#d478e4',
    500: '#bb2ed7',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ed7;
$custom-light: #d478e4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ed7",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 215
  },
  "hsl": {
    "h": 290.059,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59186,
    "c": 0.25174,
    "h": 320.2
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB2ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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