#BB6EF6#BB6EF6

#BB6EF6 is a light, highly saturated violet. Relative luminance 0.284; OKLCH L 68.0% C 0.202 H 308.1°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#BB6EF6
RGBrgb(187, 110, 246)
HSLhsl(274, 88%, 70%)
HSVhsv(274, 55%, 96%)
CMYKcmyk(24%, 55.3%, 0%, 3.5%)
CIE-LABlab(60.22, 54.40, -56.55)
CIE-LCHlch(60.22, 78.47, 313.89°)
OKLaboklab(68.01% 0.1246 -0.159)
OKLCHoklch(68.01% 0.202 308.1)
XYZxyz(42.7007, 28.3711, 90.3976)
Luminance0.2837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6EF6 #A9F66E
analogous
#776EF6 #BB6EF6 #F66EED
triadic
#BB6EF6 #F6BB6E #6EF6BB
tetradic
#BB6EF6 #F6776E #A9F66E #6EEDF6
square
#BB6EF6 #F6776E #A9F66E #6EEDF6
split-complementary
#BB6EF6 #EDF66E #6EF677
monochromatic
#820EDC #A034F2 #BB6EF6 #D6A8FA #F1E1FD

Accessibility & contrast

On white

3.15
#BB6EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#BB6EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6EF6
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6EF6#FFFFFF#000000##000000
##BB6EF61.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#408EFA
Deuteranopia (green-blind)
#5C92F3
Tritanopia (blue-blind)
#B287A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #bb6ef6;
/* rgb */ color: rgb(187, 110, 246);
/* oklch */ color: oklch(68.0% 0.202 308.1);
Tailwind
colors: {
  custom: {
    50: '#d39afa',
    500: '#bb6ef6',
    950: '#000000',
  },
}
SCSS
$custom: #bb6ef6;
$custom-light: #d39afa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6ef6",
  "rgb": {
    "r": 187,
    "g": 110,
    "b": 246
  },
  "hsl": {
    "h": 273.971,
    "s": 88.312,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68008,
    "c": 0.202,
    "h": 308.1
  },
  "luminance": 0.2837
}

Semantic roles & 50–950 ramp

primary
#BB6EF6
secondary
#DDF3CD
accent
#E50164
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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