#BB2ED4#BB2ED4

#BB2ED4 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 59.0% C 0.249 H 321.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BB2ED4
RGBrgb(187, 46, 212)
HSLhsl(291, 66%, 51%)
HSVhsv(291, 78%, 83%)
CMYKcmyk(11.8%, 78.3%, 0%, 16.9%)
CIE-LABlab(48.60, 74.21, -56.02)
CIE-LCHlch(48.60, 92.98, 322.95°)
OKLaboklab(58.99% 0.1937 -0.1571)
OKLCHoklch(58.99% 0.249 321)
XYZxyz(33.3528, 17.2741, 63.8520)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2ED4 #47D42E
analogous
#682ED4 #BB2ED4 #D42E9A
triadic
#BB2ED4 #D4BB2E #2ED4BB
tetradic
#BB2ED4 #D4682E #47D42E #2E9AD4
square
#BB2ED4 #D4682E #47D42E #2E9AD4
split-complementary
#BB2ED4 #9AD42E #2ED468
monochromatic
#631770 #9022A3 #BB2ED4 #CC61DE #DC94E9

Accessibility & contrast

On white

4.71
#BB2ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#BB2ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2ED4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2ED4#FFFFFF#000000##FFFFFF
##BB2ED41.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#4378D0
Tritanopia (blue-blind)
#BC5281
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb2ed4;
/* rgb */ color: rgb(187, 46, 212);
/* oklch */ color: oklch(59.0% 0.249 321.0);
Tailwind
colors: {
  custom: {
    50: '#d478e2',
    500: '#bb2ed4',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ed4;
$custom-light: #d478e2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ed4",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 212
  },
  "hsl": {
    "h": 290.964,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58991,
    "c": 0.24939,
    "h": 321
  },
  "luminance": 0.17272
}

Semantic roles & 50–950 ramp

primary
#BB2ED4
secondary
#95D48A
accent
#E93F59
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #BB2ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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