#BB7EC4#BB7EC4

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

Color values

HEX#BB7EC4
RGBrgb(187, 126, 196)
HSLhsl(292, 37%, 63%)
HSVhsv(292, 36%, 77%)
CMYKcmyk(4.6%, 35.7%, 0%, 23.1%)
CIE-LABlab(61.20, 35.33, -27.05)
CIE-LCHlch(61.20, 44.50, 322.56°)
OKLaboklab(67.97% 0.0953 -0.0739)
OKLCHoklch(67.97% 0.121 322.2)
XYZxyz(37.9170, 29.4733, 55.9054)
Luminance0.2947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EC4 #87C47E
analogous
#987EC4 #BB7EC4 #C47EAA
triadic
#BB7EC4 #C4BB7E #7EC4BB
tetradic
#BB7EC4 #C4987E #87C47E #7EAAC4
square
#BB7EC4 #C4987E #87C47E #7EAAC4
split-complementary
#BB7EC4 #AAC47E #7EC498
monochromatic
#7F3F89 #A554B1 #BB7EC4 #D1A8D7 #E7D2EA

Accessibility & contrast

On white

3.05
#BB7EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#BB7EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB7EC4
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EC4#FFFFFF#000000##000000
##BB7EC41.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#768FC7
Deuteranopia (green-blind)
#8596C2
Tritanopia (blue-blind)
#BD8698
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb7ec4;
/* rgb */ color: rgb(187, 126, 196);
/* oklch */ color: oklch(68.0% 0.121 322.2);
Tailwind
colors: {
  custom: {
    50: '#d0a4d6',
    500: '#bb7ec4',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ec4;
$custom-light: #d0a4d6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ec4",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 196
  },
  "hsl": {
    "h": 292.286,
    "s": 37.234,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67965,
    "c": 0.12054,
    "h": 322.2
  },
  "luminance": 0.29472
}

Semantic roles & 50–950 ramp

primary
#BB7EC4
secondary
#C6DBC2
accent
#B03545
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#140F14
muted
#827F83

Preview Lab

Preview with #BB7EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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