#BB66DC#BB66DC

#BB66DC is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.4% C 0.186 H 315.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#BB66DC
RGBrgb(187, 102, 220)
HSLhsl(283, 63%, 63%)
HSVhsv(283, 54%, 86%)
CMYKcmyk(15%, 53.6%, 0%, 13.7%)
CIE-LABlab(57.30, 52.89, -46.68)
CIE-LCHlch(57.30, 70.55, 318.57°)
OKLaboklab(65.42% 0.1333 -0.1302)
OKLCHoklch(65.42% 0.186 315.7)
XYZxyz(38.1612, 25.2360, 70.5571)
Luminance0.2524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB66DC #87DC66
analogous
#8066DC #BB66DC #DC66C2
triadic
#BB66DC #DCBB66 #66DCBB
tetradic
#BB66DC #DC8066 #87DC66 #66C2DC
square
#BB66DC #DC8066 #87DC66 #66C2DC
split-complementary
#BB66DC #C2DC66 #66DC80
monochromatic
#7F25A2 #A534D1 #BB66DC #D198E7 #E7CAF3

Accessibility & contrast

On white

3.47
#BB66DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#BB66DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB66DC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB66DC#FFFFFF#000000##000000
##BB66DC1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84E0
Deuteranopia (green-blind)
#668CD9
Tritanopia (blue-blind)
#B97997
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #bb66dc;
/* rgb */ color: rgb(187, 102, 220);
/* oklch */ color: oklch(65.4% 0.186 315.7);
Tailwind
colors: {
  custom: {
    50: '#d295e7',
    500: '#bb66dc',
    950: '#000000',
  },
}
SCSS
$custom: #bb66dc;
$custom-light: #d295e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb66dc",
  "rgb": {
    "r": 187,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 283.22,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65417,
    "c": 0.18635,
    "h": 315.7
  },
  "luminance": 0.25235
}

Semantic roles & 50–950 ramp

primary
#BB66DC
secondary
#C6E4BA
accent
#CB1B4C
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BB66DC

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

Preview Lab → · Contrast checker → · Palette generator →

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