#BB7EC1#BB7EC1

#BB7EC1 is a light, moderate purple. Relative luminance 0.293; OKLCH L 67.8% C 0.117 H 323.6°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#BB7EC1
RGBrgb(187, 126, 193)
HSLhsl(295, 35%, 63%)
HSVhsv(295, 35%, 76%)
CMYKcmyk(3.1%, 34.7%, 0%, 24.3%)
CIE-LABlab(61.08, 34.74, -25.54)
CIE-LCHlch(61.08, 43.12, 323.68°)
OKLaboklab(67.84% 0.0945 -0.0696)
OKLCHoklch(67.84% 0.117 323.6)
XYZxyz(37.5790, 29.3381, 54.1250)
Luminance0.2934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EC1 #84C17E
analogous
#9A7EC1 #BB7EC1 #C17EA5
triadic
#BB7EC1 #C1BB7E #7EC1BB
tetradic
#BB7EC1 #C19A7E #84C17E #7EA5C1
square
#BB7EC1 #C19A7E #84C17E #7EA5C1
split-complementary
#BB7EC1 #A5C17E #7EC19A
monochromatic
#7F4085 #A555AD #BB7EC1 #D1A7D5 #E7D1E9

Accessibility & contrast

On white

3.06
#BB7EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#BB7EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB7EC1
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EC1#FFFFFF#000000##000000
##BB7EC11.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#778FC4
Deuteranopia (green-blind)
#8796BF
Tritanopia (blue-blind)
#BE8597
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bb7ec1;
/* rgb */ color: rgb(187, 126, 193);
/* oklch */ color: oklch(67.8% 0.117 323.6);
Tailwind
colors: {
  custom: {
    50: '#d0a4d4',
    500: '#bb7ec1',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ec1;
$custom-light: #d0a4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ec1",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 193
  },
  "hsl": {
    "h": 294.627,
    "s": 35.079,
    "l": 62.549
  },
  "oklch": {
    "l": 0.67836,
    "c": 0.11737,
    "h": 323.6
  },
  "luminance": 0.29337
}

Semantic roles & 50–950 ramp

primary
#BB7EC1
secondary
#C3DAC1
accent
#AE3842
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#140F14
muted
#827F83

Preview Lab

Preview with #BB7EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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