#BB66EC#BB66EC

#BB66EC is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.3% C 0.203 H 311.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#BB66EC
RGBrgb(187, 102, 236)
HSLhsl(278, 78%, 66%)
HSVhsv(278, 57%, 93%)
CMYKcmyk(20.8%, 56.8%, 0%, 7.5%)
CIE-LABlab(58.16, 56.25, -54.30)
CIE-LCHlch(58.16, 78.18, 316.01°)
OKLaboklab(66.32% 0.1342 -0.1524)
OKLCHoklch(66.32% 0.203 311.4)
XYZxyz(40.3825, 26.1246, 82.2559)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB66EC #97EC66
analogous
#7866EC #BB66EC #EC66DA
triadic
#BB66EC #ECBB66 #66ECBB
tetradic
#BB66EC #EC7866 #97EC66 #66DAEC
square
#BB66EC #EC7866 #97EC66 #66DAEC
split-complementary
#BB66EC #DAEC66 #66EC78
monochromatic
#8218C0 #A330E5 #BB66EC #D39CF3 #EBD3FA

Accessibility & contrast

On white

3.37
#BB66EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#BB66EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB66EC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB66EC#FFFFFF#000000##000000
##BB66EC1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F0
Deuteranopia (green-blind)
#5B8DE9
Tritanopia (blue-blind)
#B57EA0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #bb66ec;
/* rgb */ color: rgb(187, 102, 236);
/* oklch */ color: oklch(66.3% 0.203 311.4);
Tailwind
colors: {
  custom: {
    50: '#d395f3',
    500: '#bb66ec',
    950: '#000000',
  },
}
SCSS
$custom: #bb66ec;
$custom-light: #d395f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb66ec",
  "rgb": {
    "r": 187,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 278.06,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66316,
    "c": 0.20307,
    "h": 311.4
  },
  "luminance": 0.26124
}

Semantic roles & 50–950 ramp

primary
#BB66EC
secondary
#D1EDC1
accent
#DA0B57
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB66EC

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

Preview Lab → · Contrast checker → · Palette generator →

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