#BB4EC9#BB4EC9

#BB4EC9 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.3% C 0.204 H 323.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BB4EC9
RGBrgb(187, 78, 201)
HSLhsl(293, 53%, 55%)
HSVhsv(293, 61%, 79%)
CMYKcmyk(7%, 61.2%, 0%, 21.2%)
CIE-LABlab(52.10, 60.57, -44.13)
CIE-LCHlch(52.10, 74.94, 323.92°)
OKLaboklab(61.29% 0.1626 -0.1226)
OKLCHoklch(61.29% 0.204 323)
XYZxyz(33.7595, 20.2324, 57.3740)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EC9 #5CC94E
analogous
#7E4EC9 #BB4EC9 #C94E99
triadic
#BB4EC9 #C9BB4E #4EC9BB
tetradic
#BB4EC9 #C97E4E #5CC94E #4E99C9
square
#BB4EC9 #C97E4E #5CC94E #4E99C9
split-complementary
#BB4EC9 #99C94E #4EC97E
monochromatic
#6F2578 #9A33A7 #BB4EC9 #CD7DD7 #DFACE6

Accessibility & contrast

On white

4.16
#BB4EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#BB4EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4EC9
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4EC9#FFFFFF#000000##000000
##BB4EC91.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3574CD
Deuteranopia (green-blind)
#5F81C6
Tritanopia (blue-blind)
#BE6084
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb4ec9;
/* rgb */ color: rgb(187, 78, 201);
/* oklch */ color: oklch(61.3% 0.204 323.0);
Tailwind
colors: {
  custom: {
    50: '#d286da',
    500: '#bb4ec9',
    950: '#000000',
  },
}
SCSS
$custom: #bb4ec9;
$custom-light: #d286da;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4ec9",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 201
  },
  "hsl": {
    "h": 293.171,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61291,
    "c": 0.20363,
    "h": 323
  },
  "luminance": 0.20231
}

Semantic roles & 50–950 ramp

primary
#BB4EC9
secondary
#A5D39F
accent
#DD4B5C
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BB4EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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