#BB6CEE#BB6CEE

#BB6CEE is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.3% C 0.196 H 310.2°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#BB6CEE
RGBrgb(187, 108, 238)
HSLhsl(276, 79%, 68%)
HSVhsv(276, 55%, 93%)
CMYKcmyk(21.4%, 54.6%, 0%, 6.7%)
CIE-LABlab(59.40, 53.66, -53.43)
CIE-LCHlch(59.40, 75.72, 315.13°)
OKLaboklab(67.27% 0.1267 -0.1499)
OKLCHoklch(67.27% 0.196 310.2)
XYZxyz(41.2858, 27.4637, 83.9985)
Luminance0.2746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6CEE #9FEE6C
analogous
#7A6CEE #BB6CEE #EE6CE0
triadic
#BB6CEE #EEBB6C #6CEEBB
tetradic
#BB6CEE #EE7A6C #9FEE6C #6CE0EE
square
#BB6CEE #EE7A6C #9FEE6C #6CE0EE
split-complementary
#BB6CEE #E0EE6C #6CEE7A
monochromatic
#8317C8 #A235E8 #BB6CEE #D4A3F4 #EEDAFB

Accessibility & contrast

On white

3.23
#BB6CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#BB6CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6CEE
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6CEE#FFFFFF#000000##000000
##BB6CEE1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#448BF2
Deuteranopia (green-blind)
#6090EB
Tritanopia (blue-blind)
#B583A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #bb6cee;
/* rgb */ color: rgb(187, 108, 238);
/* oklch */ color: oklch(67.3% 0.196 310.2);
Tailwind
colors: {
  custom: {
    50: '#d299f4',
    500: '#bb6cee',
    950: '#000000',
  },
}
SCSS
$custom: #bb6cee;
$custom-light: #d299f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6cee",
  "rgb": {
    "r": 187,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 276.462,
    "s": 79.268,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67265,
    "c": 0.19627,
    "h": 310.2
  },
  "luminance": 0.27463
}

Semantic roles & 50–950 ramp

primary
#BB6CEE
secondary
#D7EFC7
accent
#DC0A5C
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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