#BB6ED7#BB6ED7

#BB6ED7 is a light, vivid purple. Relative luminance 0.266; OKLCH L 66.3% C 0.168 H 316.4°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#BB6ED7
RGBrgb(187, 110, 215)
HSLhsl(284, 57%, 64%)
HSVhsv(284, 49%, 84%)
CMYKcmyk(13%, 48.8%, 0%, 15.7%)
CIE-LABlab(58.62, 47.76, -41.78)
CIE-LCHlch(58.62, 63.46, 318.82°)
OKLaboklab(66.31% 0.122 -0.116)
OKLCHoklch(66.31% 0.168 316.4)
XYZxyz(38.3334, 26.6241, 67.3965)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6ED7 #8AD76E
analogous
#866ED7 #BB6ED7 #D76EBE
triadic
#BB6ED7 #D7BB6E #6ED7BB
tetradic
#BB6ED7 #D7866E #8AD76E #6EBED7
square
#BB6ED7 #D7866E #8AD76E #6EBED7
split-complementary
#BB6ED7 #BED76E #6ED786
monochromatic
#802C9F #A53ECA #BB6ED7 #D19EE4 #E8CEF1

Accessibility & contrast

On white

3.32
#BB6ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#BB6ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6ED7
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6ED7#FFFFFF#000000##000000
##BB6ED71.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5988DB
Deuteranopia (green-blind)
#708FD4
Tritanopia (blue-blind)
#BA7D99
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #bb6ed7;
/* rgb */ color: rgb(187, 110, 215);
/* oklch */ color: oklch(66.3% 0.168 316.4);
Tailwind
colors: {
  custom: {
    50: '#d19ae4',
    500: '#bb6ed7',
    950: '#000000',
  },
}
SCSS
$custom: #bb6ed7;
$custom-light: #d19ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6ed7",
  "rgb": {
    "r": 187,
    "g": 110,
    "b": 215
  },
  "hsl": {
    "h": 284,
    "s": 56.757,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66311,
    "c": 0.16837,
    "h": 316.4
  },
  "luminance": 0.26623
}

Semantic roles & 50–950 ramp

primary
#BB6ED7
secondary
#C8E3BE
accent
#C4214D
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E15
muted
#837E84

Preview Lab

Preview with #BB6ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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