#BB7ECD#BB7ECD

#BB7ECD is a light, vivid purple. Relative luminance 0.299; OKLCH L 68.4% C 0.130 H 318.3°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#BB7ECD
RGBrgb(187, 126, 205)
HSLhsl(286, 44%, 65%)
HSVhsv(286, 39%, 80%)
CMYKcmyk(8.8%, 38.5%, 0%, 19.6%)
CIE-LABlab(61.56, 37.13, -31.56)
CIE-LCHlch(61.56, 48.73, 319.64°)
OKLaboklab(68.36% 0.0973 -0.0867)
OKLCHoklch(68.36% 0.13 318.3)
XYZxyz(38.9723, 29.8954, 61.4632)
Luminance0.2989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7ECD #90CD7E
analogous
#947ECD #BB7ECD #CD7EB8
triadic
#BB7ECD #CDBB7E #7ECDBB
tetradic
#BB7ECD #CD947E #90CD7E #7EB8CD
square
#BB7ECD #CD947E #90CD7E #7EB8CD
split-complementary
#BB7ECD #B8CD7E #7ECD94
monochromatic
#813A96 #A452BC #BB7ECD #D2AADE #E9D6EF

Accessibility & contrast

On white

3.01
#BB7ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#BB7ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB7ECD
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7ECD#FFFFFF#000000##000000
##BB7ECD1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D0
Deuteranopia (green-blind)
#8297CB
Tritanopia (blue-blind)
#BB889C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb7ecd;
/* rgb */ color: rgb(187, 126, 205);
/* oklch */ color: oklch(68.4% 0.130 318.3);
Tailwind
colors: {
  custom: {
    50: '#d0a4dc',
    500: '#bb7ecd',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ecd;
$custom-light: #d0a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ecd",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 205
  },
  "hsl": {
    "h": 286.329,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68362,
    "c": 0.13036,
    "h": 318.3
  },
  "luminance": 0.29894
}

Semantic roles & 50–950 ramp

primary
#BB7ECD
secondary
#CCE1C6
accent
#B72E4D
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BB7ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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