#BB7EC5#BB7EC5

#BB7EC5 is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.0% C 0.122 H 321.7°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#BB7EC5
RGBrgb(187, 126, 197)
HSLhsl(292, 38%, 63%)
HSVhsv(292, 36%, 77%)
CMYKcmyk(5.1%, 36%, 0%, 22.7%)
CIE-LABlab(61.24, 35.53, -27.56)
CIE-LCHlch(61.24, 44.96, 322.20°)
OKLaboklab(68.01% 0.0955 -0.0753)
OKLCHoklch(68.01% 0.122 321.7)
XYZxyz(38.0312, 29.5190, 56.5069)
Luminance0.2952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EC5 #88C57E
analogous
#977EC5 #BB7EC5 #C57EAB
triadic
#BB7EC5 #C5BB7E #7EC5BB
tetradic
#BB7EC5 #C5977E #88C57E #7EABC5
square
#BB7EC5 #C5977E #88C57E #7EABC5
split-complementary
#BB7EC5 #ABC57E #7EC597
monochromatic
#803E8A #A554B2 #BB7EC5 #D1A8D8 #E8D2EB

Accessibility & contrast

On white

3.04
#BB7EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#BB7EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB7EC5
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EC5#FFFFFF#000000##000000
##BB7EC51.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#768FC8
Deuteranopia (green-blind)
#8596C3
Tritanopia (blue-blind)
#BD8699
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb7ec5;
/* rgb */ color: rgb(187, 126, 197);
/* oklch */ color: oklch(68.0% 0.122 321.7);
Tailwind
colors: {
  custom: {
    50: '#d0a4d6',
    500: '#bb7ec5',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ec5;
$custom-light: #d0a4d6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ec5",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 197
  },
  "hsl": {
    "h": 291.549,
    "s": 37.968,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68008,
    "c": 0.12162,
    "h": 321.7
  },
  "luminance": 0.29518
}

Semantic roles & 50–950 ramp

primary
#BB7EC5
secondary
#C6DCC3
accent
#B13546
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#140F14
muted
#827F83

Preview Lab

Preview with #BB7EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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