#BB7ECA#BB7ECA

#BB7ECA is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.2% C 0.127 H 319.5°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#BB7ECA
RGBrgb(187, 126, 202)
HSLhsl(288, 42%, 64%)
HSVhsv(288, 38%, 79%)
CMYKcmyk(7.4%, 37.6%, 0%, 20.8%)
CIE-LABlab(61.44, 36.52, -30.06)
CIE-LCHlch(61.44, 47.31, 320.54°)
OKLaboklab(68.23% 0.0967 -0.0824)
OKLCHoklch(68.23% 0.127 319.5)
XYZxyz(38.6137, 29.7519, 59.5743)
Luminance0.2975 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7ECA #8DCA7E
analogous
#957ECA #BB7ECA #CA7EB3
triadic
#BB7ECA #CABB7E #7ECABB
tetradic
#BB7ECA #CA957E #8DCA7E #7EB3CA
square
#BB7ECA #CA957E #8DCA7E #7EB3CA
split-complementary
#BB7ECA #B3CA7E #7ECA95
monochromatic
#813C92 #A453B8 #BB7ECA #D2A9DC #E9D5EE

Accessibility & contrast

On white

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

On black

6.95
#BB7ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB7ECA
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7ECA#FFFFFF#000000##000000
##BB7ECA1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7490CD
Deuteranopia (green-blind)
#8397C8
Tritanopia (blue-blind)
#BC879B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb7eca;
/* rgb */ color: rgb(187, 126, 202);
/* oklch */ color: oklch(68.2% 0.127 319.5);
Tailwind
colors: {
  custom: {
    50: '#d0a4da',
    500: '#bb7eca',
    950: '#000000',
  },
}
SCSS
$custom: #bb7eca;
$custom-light: #d0a4da;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7eca",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 288.158,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68228,
    "c": 0.12705,
    "h": 319.5
  },
  "luminance": 0.29751
}

Semantic roles & 50–950 ramp

primary
#BB7ECA
secondary
#CADFC5
accent
#B5314B
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#140F15
muted
#827F83

Preview Lab

Preview with #BB7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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