#BB6FEB#BB6FEB

#BB6FEB is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.5% C 0.188 H 310.6°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#BB6FEB
RGBrgb(187, 111, 235)
HSLhsl(277, 76%, 68%)
HSVhsv(277, 53%, 92%)
CMYKcmyk(20.4%, 52.8%, 0%, 7.8%)
CIE-LABlab(59.83, 51.47, -51.08)
CIE-LCHlch(59.83, 72.51, 315.22°)
OKLaboklab(67.53% 0.1227 -0.143)
OKLCHoklch(67.53% 0.188 310.6)
XYZxyz(41.1706, 27.9326, 81.8039)
Luminance0.2793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6FEB #9FEB6F
analogous
#7D6FEB #BB6FEB #EB6FDD
triadic
#BB6FEB #EBBB6F #6FEBBB
tetradic
#BB6FEB #EB7D6F #9FEB6F #6FDDEB
square
#BB6FEB #EB7D6F #9FEB6F #6FDDEB
split-complementary
#BB6FEB #DDEB6F #6FEB7D
monochromatic
#831BC4 #A239E4 #BB6FEB #D4A5F2 #EEDAFA

Accessibility & contrast

On white

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

On black

6.59
#BB6FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6FEB
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6FEB#FFFFFF#000000##000000
##BB6FEB1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DEF
Deuteranopia (green-blind)
#6592E8
Tritanopia (blue-blind)
#B584A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #bb6feb;
/* rgb */ color: rgb(187, 111, 235);
/* oklch */ color: oklch(67.5% 0.188 310.6);
Tailwind
colors: {
  custom: {
    50: '#d29bf2',
    500: '#bb6feb',
    950: '#000000',
  },
}
SCSS
$custom: #bb6feb;
$custom-light: #d29bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6feb",
  "rgb": {
    "r": 187,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 276.774,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67527,
    "c": 0.18844,
    "h": 310.6
  },
  "luminance": 0.27932
}

Semantic roles & 50–950 ramp

primary
#BB6FEB
secondary
#D7EEC8
accent
#D80E5C
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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