#BB7EC8#BB7EC8

#BB7EC8 is a light, vivid purple. Relative luminance 0.297; OKLCH L 68.1% C 0.125 H 320.4°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#BB7EC8
RGBrgb(187, 126, 200)
HSLhsl(289, 40%, 64%)
HSVhsv(289, 37%, 78%)
CMYKcmyk(6.5%, 37%, 0%, 21.6%)
CIE-LABlab(61.36, 36.12, -29.06)
CIE-LCHlch(61.36, 46.36, 321.18°)
OKLaboklab(68.14% 0.0962 -0.0796)
OKLCHoklch(68.14% 0.125 320.4)
XYZxyz(38.3784, 29.6578, 58.3353)
Luminance0.2966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EC8 #8BC87E
analogous
#967EC8 #BB7EC8 #C87EB0
triadic
#BB7EC8 #C8BB7E #7EC8BB
tetradic
#BB7EC8 #C8967E #8BC87E #7EB0C8
square
#BB7EC8 #C8967E #8BC87E #7EB0C8
split-complementary
#BB7EC8 #B0C87E #7EC896
monochromatic
#803D8F #A453B6 #BB7EC8 #D2A9DA #E8D4ED

Accessibility & contrast

On white

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

On black

6.93
#BB7EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB7EC8
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EC8#FFFFFF#000000##000000
##BB7EC81.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7590CB
Deuteranopia (green-blind)
#8496C6
Tritanopia (blue-blind)
#BC879A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb7ec8;
/* rgb */ color: rgb(187, 126, 200);
/* oklch */ color: oklch(68.1% 0.125 320.4);
Tailwind
colors: {
  custom: {
    50: '#d0a4d9',
    500: '#bb7ec8',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ec8;
$custom-light: #d0a4d9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ec8",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 289.459,
    "s": 40.217,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68139,
    "c": 0.12486,
    "h": 320.4
  },
  "luminance": 0.29657
}

Semantic roles & 50–950 ramp

primary
#BB7EC8
secondary
#C8DEC4
accent
#B33249
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#140F14
muted
#827F83

Preview Lab

Preview with #BB7EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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