#BB7EC7#BB7EC7

#BB7EC7 is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.1% C 0.124 H 320.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#BB7EC7
RGBrgb(187, 126, 199)
HSLhsl(290, 39%, 64%)
HSVhsv(290, 37%, 78%)
CMYKcmyk(6%, 36.7%, 0%, 22%)
CIE-LABlab(61.32, 35.92, -28.56)
CIE-LCHlch(61.32, 45.89, 321.51°)
OKLaboklab(68.1% 0.096 -0.0782)
OKLCHoklch(68.1% 0.124 320.8)
XYZxyz(38.2619, 29.6112, 57.7218)
Luminance0.2961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EC7 #8AC77E
analogous
#967EC7 #BB7EC7 #C77EAE
triadic
#BB7EC7 #C7BB7E #7EC7BB
tetradic
#BB7EC7 #C7967E #8AC77E #7EAEC7
square
#BB7EC7 #C7967E #8AC77E #7EAEC7
split-complementary
#BB7EC7 #AEC77E #7EC796
monochromatic
#803D8D #A553B4 #BB7EC7 #D1A9DA #E8D3EC

Accessibility & contrast

On white

3.03
#BB7EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#BB7EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB7EC7
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EC7#FFFFFF#000000##000000
##BB7EC71.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7590CA
Deuteranopia (green-blind)
#8496C5
Tritanopia (blue-blind)
#BC8699
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb7ec7;
/* rgb */ color: rgb(187, 126, 199);
/* oklch */ color: oklch(68.1% 0.124 320.8);
Tailwind
colors: {
  custom: {
    50: '#d0a4d8',
    500: '#bb7ec7',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ec7;
$custom-light: #d0a4d8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ec7",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 290.137,
    "s": 39.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68095,
    "c": 0.12378,
    "h": 320.8
  },
  "luminance": 0.2961
}

Semantic roles & 50–950 ramp

primary
#BB7EC7
secondary
#C8DDC4
accent
#B23348
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#140F14
muted
#827F83

Preview Lab

Preview with #BB7EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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