#BB6BEF#BB6BEF

#BB6BEF is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.2% C 0.199 H 310.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#BB6BEF
RGBrgb(187, 107, 239)
HSLhsl(276, 80%, 68%)
HSVhsv(276, 55%, 94%)
CMYKcmyk(21.8%, 55.2%, 0%, 6.3%)
CIE-LABlab(59.26, 54.39, -54.20)
CIE-LCHlch(59.26, 76.79, 315.10°)
OKLaboklab(67.18% 0.128 -0.1521)
OKLCHoklch(67.18% 0.199 310.1)
XYZxyz(41.3283, 27.3129, 84.7394)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6BEF #9FEF6B
analogous
#796BEF #BB6BEF #EF6BE1
triadic
#BB6BEF #EFBB6B #6BEFBB
tetradic
#BB6BEF #EF796B #9FEF6B #6BE1EF
square
#BB6BEF #EF796B #9FEF6B #6BE1EF
split-complementary
#BB6BEF #E1EF6B #6BEF79
monochromatic
#8316CA #A234E9 #BB6BEF #D4A2F5 #EED9FB

Accessibility & contrast

On white

3.25
#BB6BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#BB6BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6BEF
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6BEF#FFFFFF#000000##000000
##BB6BEF1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#418BF3
Deuteranopia (green-blind)
#5E90EC
Tritanopia (blue-blind)
#B483A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #bb6bef;
/* rgb */ color: rgb(187, 107, 239);
/* oklch */ color: oklch(67.2% 0.199 310.1);
Tailwind
colors: {
  custom: {
    50: '#d298f5',
    500: '#bb6bef',
    950: '#000000',
  },
}
SCSS
$custom: #bb6bef;
$custom-light: #d298f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6bef",
  "rgb": {
    "r": 187,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 276.364,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67181,
    "c": 0.19885,
    "h": 310.1
  },
  "luminance": 0.27312
}

Semantic roles & 50–950 ramp

primary
#BB6BEF
secondary
#D7EFC7
accent
#DD095C
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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