#BB6DF2#BB6DF2

#BB6DF2 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.6% C 0.199 H 309.1°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#BB6DF2
RGBrgb(187, 109, 242)
HSLhsl(275, 84%, 69%)
HSVhsv(275, 55%, 95%)
CMYKcmyk(22.7%, 55%, 0%, 5.1%)
CIE-LABlab(59.81, 54.03, -55.00)
CIE-LCHlch(59.81, 77.09, 314.49°)
OKLaboklab(67.64% 0.1256 -0.1545)
OKLCHoklch(67.64% 0.199 309.1)
XYZxyz(41.9861, 27.9136, 87.1632)
Luminance0.2791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6DF2 #A4F26D
analogous
#796DF2 #BB6DF2 #F26DE7
triadic
#BB6DF2 #F2BB6D #6DF2BB
tetradic
#BB6DF2 #F2796D #A4F26D #6DE7F2
square
#BB6DF2 #F2796D #A4F26D #6DE7F2
split-complementary
#BB6DF2 #E7F26D #6DF279
monochromatic
#8313D2 #A135ED #BB6DF2 #D5A5F7 #EFDDFC

Accessibility & contrast

On white

3.19
#BB6DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#BB6DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6DF2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6DF2#FFFFFF#000000##000000
##BB6DF21.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#428DF6
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#B385A5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #bb6df2;
/* rgb */ color: rgb(187, 109, 242);
/* oklch */ color: oklch(67.6% 0.199 309.1);
Tailwind
colors: {
  custom: {
    50: '#d29af7',
    500: '#bb6df2',
    950: '#000000',
  },
}
SCSS
$custom: #bb6df2;
$custom-light: #d29af7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6df2",
  "rgb": {
    "r": 187,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 275.188,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67635,
    "c": 0.19911,
    "h": 309.1
  },
  "luminance": 0.27913
}

Semantic roles & 50–950 ramp

primary
#BB6DF2
secondary
#DAF1CA
accent
#E00560
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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