#BB66EB#BB66EB

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

Color values

HEX#BB66EB
RGBrgb(187, 102, 235)
HSLhsl(278, 77%, 66%)
HSVhsv(278, 57%, 92%)
CMYKcmyk(20.4%, 56.6%, 0%, 7.8%)
CIE-LABlab(58.10, 56.04, -53.83)
CIE-LCHlch(58.10, 77.70, 316.15°)
OKLaboklab(66.26% 0.1342 -0.151)
OKLCHoklch(66.26% 0.202 311.6)
XYZxyz(40.2376, 26.0666, 81.4929)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB66EB #96EB66
analogous
#7866EB #BB66EB #EB66D8
triadic
#BB66EB #EBBB66 #66EBBB
tetradic
#BB66EB #EB7866 #96EB66 #66D8EB
square
#BB66EB #EB7866 #96EB66 #66D8EB
split-complementary
#BB66EB #D8EB66 #66EB78
monochromatic
#8219BE #A330E4 #BB66EB #D39CF2 #EBD2F9

Accessibility & contrast

On white

3.38
#BB66EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#BB66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB66EB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB66EB#FFFFFF#000000##000000
##BB66EB1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EF
Deuteranopia (green-blind)
#5C8DE8
Tritanopia (blue-blind)
#B67E9F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #bb66eb;
/* rgb */ color: rgb(187, 102, 235);
/* oklch */ color: oklch(66.3% 0.202 311.6);
Tailwind
colors: {
  custom: {
    50: '#d295f2',
    500: '#bb66eb',
    950: '#000000',
  },
}
SCSS
$custom: #bb66eb;
$custom-light: #d295f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb66eb",
  "rgb": {
    "r": 187,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 278.346,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66258,
    "c": 0.20202,
    "h": 311.6
  },
  "luminance": 0.26066
}

Semantic roles & 50–950 ramp

primary
#BB66EB
secondary
#D0ECC1
accent
#D90C56
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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