#BB7EC2#BB7EC2

#BB7EC2 is a light, moderate purple. Relative luminance 0.294; OKLCH L 67.9% C 0.118 H 323.1°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#BB7EC2
RGBrgb(187, 126, 194)
HSLhsl(294, 36%, 63%)
HSVhsv(294, 35%, 76%)
CMYKcmyk(3.6%, 35.1%, 0%, 23.9%)
CIE-LABlab(61.12, 34.94, -26.04)
CIE-LCHlch(61.12, 43.57, 323.30°)
OKLaboklab(67.88% 0.0948 -0.071)
OKLCHoklch(67.88% 0.118 323.1)
XYZxyz(37.6909, 29.3828, 54.7145)
Luminance0.2938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EC2 #85C27E
analogous
#997EC2 #BB7EC2 #C27EA7
triadic
#BB7EC2 #C2BB7E #7EC2BB
tetradic
#BB7EC2 #C2997E #85C27E #7EA7C2
square
#BB7EC2 #C2997E #85C27E #7EA7C2
split-complementary
#BB7EC2 #A7C27E #7EC299
monochromatic
#7F3F86 #A554AE #BB7EC2 #D1A8D6 #E7D1E9

Accessibility & contrast

On white

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

On black

6.88
#BB7EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB7EC2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EC2#FFFFFF#000000##000000
##BB7EC21.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#778FC5
Deuteranopia (green-blind)
#8696C0
Tritanopia (blue-blind)
#BD8597
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bb7ec2;
/* rgb */ color: rgb(187, 126, 194);
/* oklch */ color: oklch(67.9% 0.118 323.1);
Tailwind
colors: {
  custom: {
    50: '#d0a4d4',
    500: '#bb7ec2',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ec2;
$custom-light: #d0a4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ec2",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 293.824,
    "s": 35.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.67879,
    "c": 0.11843,
    "h": 323.1
  },
  "luminance": 0.29382
}

Semantic roles & 50–950 ramp

primary
#BB7EC2
secondary
#C4DAC2
accent
#AF3743
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#140F14
muted
#827F83

Preview Lab

Preview with #BB7EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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