#BB66EF#BB66EF

#BB66EF is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.5% C 0.206 H 310.6°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#BB66EF
RGBrgb(187, 102, 239)
HSLhsl(277, 81%, 67%)
HSVhsv(277, 57%, 94%)
CMYKcmyk(21.8%, 57.3%, 0%, 6.3%)
CIE-LABlab(58.32, 56.89, -55.70)
CIE-LCHlch(58.32, 79.62, 315.61°)
OKLaboklab(66.49% 0.1343 -0.1565)
OKLCHoklch(66.49% 0.206 310.6)
XYZxyz(40.8220, 26.3004, 84.5706)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB66EF #9AEF66
analogous
#7766EF #BB66EF #EF66DF
triadic
#BB66EF #EFBB66 #66EFBB
tetradic
#BB66EF #EF7766 #9AEF66 #66DFEF
square
#BB66EF #EF7766 #9AEF66 #66DFEF
split-complementary
#BB66EF #DFEF66 #66EF77
monochromatic
#8315C6 #A22FE9 #BB66EF #D49DF5 #ECD5FB

Accessibility & contrast

On white

3.35
#BB66EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#BB66EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB66EF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB66EF#FFFFFF#000000##000000
##BB66EF1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3788F3
Deuteranopia (green-blind)
#598EEC
Tritanopia (blue-blind)
#B57FA1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #bb66ef;
/* rgb */ color: rgb(187, 102, 239);
/* oklch */ color: oklch(66.5% 0.206 310.6);
Tailwind
colors: {
  custom: {
    50: '#d395f5',
    500: '#bb66ef',
    950: '#000000',
  },
}
SCSS
$custom: #bb66ef;
$custom-light: #d395f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb66ef",
  "rgb": {
    "r": 187,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 277.226,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66491,
    "c": 0.20623,
    "h": 310.6
  },
  "luminance": 0.263
}

Semantic roles & 50–950 ramp

primary
#BB66EF
secondary
#D3EEC2
accent
#DD0859
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB66EF

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

Preview Lab → · Contrast checker → · Palette generator →

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