#BB7ECB#BB7ECB

#BB7ECB is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.3% C 0.128 H 319.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#BB7ECB
RGBrgb(187, 126, 203)
HSLhsl(288, 43%, 65%)
HSVhsv(288, 38%, 80%)
CMYKcmyk(7.9%, 37.9%, 0%, 20.4%)
CIE-LABlab(61.48, 36.73, -30.56)
CIE-LCHlch(61.48, 47.78, 320.23°)
OKLaboklab(68.27% 0.0969 -0.0839)
OKLCHoklch(68.27% 0.128 319.1)
XYZxyz(38.7324, 29.7994, 60.1999)
Luminance0.2980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7ECB #8ECB7E
analogous
#957ECB #BB7ECB #CB7EB5
triadic
#BB7ECB #CBBB7E #7ECBBB
tetradic
#BB7ECB #CB957E #8ECB7E #7EB5CB
square
#BB7ECB #CB957E #8ECB7E #7EB5CB
split-complementary
#BB7ECB #B5CB7E #7ECB95
monochromatic
#813B93 #A452B9 #BB7ECB #D2AADD #E9D5EE

Accessibility & contrast

On white

3.02
#BB7ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#BB7ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB7ECB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7ECB#FFFFFF#000000##000000
##BB7ECB1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CE
Deuteranopia (green-blind)
#8397C9
Tritanopia (blue-blind)
#BC879B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb7ecb;
/* rgb */ color: rgb(187, 126, 203);
/* oklch */ color: oklch(68.3% 0.128 319.1);
Tailwind
colors: {
  custom: {
    50: '#d0a4db',
    500: '#bb7ecb',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ecb;
$custom-light: #d0a4db;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ecb",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 287.532,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68272,
    "c": 0.12815,
    "h": 319.1
  },
  "luminance": 0.29798
}

Semantic roles & 50–950 ramp

primary
#BB7ECB
secondary
#CBE0C5
accent
#B6304C
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BB7ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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