#BB66E7#BB66E7

#BB66E7 is a light, vivid violet. Relative luminance 0.258; OKLCH L 66.0% C 0.198 H 312.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#BB66E7
RGBrgb(187, 102, 231)
HSLhsl(280, 73%, 65%)
HSVhsv(280, 56%, 91%)
CMYKcmyk(19%, 55.8%, 0%, 9.4%)
CIE-LABlab(57.88, 55.19, -51.94)
CIE-LCHlch(57.88, 75.78, 316.74°)
OKLaboklab(66.03% 0.134 -0.1455)
OKLCHoklch(66.03% 0.198 312.6)
XYZxyz(39.6662, 25.8380, 78.4835)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB66E7 #92E766
analogous
#7B66E7 #BB66E7 #E766D2
triadic
#BB66E7 #E7BB66 #66E7BB
tetradic
#BB66E7 #E77B66 #92E766 #66D2E7
square
#BB66E7 #E77B66 #92E766 #66D2E7
split-complementary
#BB66E7 #D2E766 #66E77B
monochromatic
#821DB6 #A331DF #BB66E7 #D39BEF #EAD0F8

Accessibility & contrast

On white

3.41
#BB66E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#BB66E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB66E7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB66E7#FFFFFF#000000##000000
##BB66E71.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4087EB
Deuteranopia (green-blind)
#5F8DE4
Tritanopia (blue-blind)
#B77C9D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #bb66e7;
/* rgb */ color: rgb(187, 102, 231);
/* oklch */ color: oklch(66.0% 0.198 312.6);
Tailwind
colors: {
  custom: {
    50: '#d295ef',
    500: '#bb66e7',
    950: '#000000',
  },
}
SCSS
$custom: #bb66e7;
$custom-light: #d295ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb66e7",
  "rgb": {
    "r": 187,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 279.535,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66029,
    "c": 0.19782,
    "h": 312.6
  },
  "luminance": 0.25837
}

Semantic roles & 50–950 ramp

primary
#BB66E7
secondary
#CDEABF
accent
#D51154
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BB66E7

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

Preview Lab → · Contrast checker → · Palette generator →

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