#BB4ED2#BB4ED2

#BB4ED2 is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.8% C 0.212 H 320.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BB4ED2
RGBrgb(187, 78, 210)
HSLhsl(290, 59%, 56%)
HSVhsv(290, 63%, 82%)
CMYKcmyk(11%, 62.9%, 0%, 17.6%)
CIE-LABlab(52.58, 62.24, -48.51)
CIE-LCHlch(52.58, 78.91, 322.07°)
OKLaboklab(61.8% 0.1628 -0.1354)
OKLCHoklch(61.8% 0.212 320.3)
XYZxyz(34.8494, 20.6684, 63.1140)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4ED2 #65D24E
analogous
#794ED2 #BB4ED2 #D24EA7
triadic
#BB4ED2 #D2BB4E #4ED2BB
tetradic
#BB4ED2 #D2794E #65D24E #4EA7D2
square
#BB4ED2 #D2794E #65D24E #4EA7D2
split-complementary
#BB4ED2 #A7D24E #4ED279
monochromatic
#732284 #9D2EB5 #BB4ED2 #CE7FDE #E0B0EB

Accessibility & contrast

On white

4.09
#BB4ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#BB4ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4ED2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4ED2#FFFFFF#000000##000000
##BB4ED21.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B76D6
Deuteranopia (green-blind)
#5A81CF
Tritanopia (blue-blind)
#BC6489
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb4ed2;
/* rgb */ color: rgb(187, 78, 210);
/* oklch */ color: oklch(61.8% 0.212 320.3);
Tailwind
colors: {
  custom: {
    50: '#d386e0',
    500: '#bb4ed2',
    950: '#000000',
  },
}
SCSS
$custom: #bb4ed2;
$custom-light: #d386e0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4ed2",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 289.545,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.618,
    "c": 0.21174,
    "h": 320.3
  },
  "luminance": 0.20667
}

Semantic roles & 50–950 ramp

primary
#BB4ED2
secondary
#ACD9A3
accent
#E34561
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BB4ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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