#BB6FEA#BB6FEA

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

Color values

HEX#BB6FEA
RGBrgb(187, 111, 234)
HSLhsl(277, 75%, 68%)
HSVhsv(277, 53%, 92%)
CMYKcmyk(20.1%, 52.6%, 0%, 8.2%)
CIE-LABlab(59.78, 51.25, -50.61)
CIE-LCHlch(59.78, 72.03, 315.36°)
OKLaboklab(67.47% 0.1226 -0.1417)
OKLCHoklch(67.47% 0.187 310.9)
XYZxyz(41.0265, 27.8750, 81.0451)
Luminance0.2787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6FEA #9EEA6F
analogous
#7D6FEA #BB6FEA #EA6FDB
triadic
#BB6FEA #EABB6F #6FEABB
tetradic
#BB6FEA #EA7D6F #9EEA6F #6FDBEA
square
#BB6FEA #EA7D6F #9EEA6F #6FDBEA
split-complementary
#BB6FEA #DBEA6F #6FEA7D
monochromatic
#831CC2 #A23AE2 #BB6FEA #D4A4F2 #EDDAFA

Accessibility & contrast

On white

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

On black

6.57
#BB6FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6FEA
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6FEA#FFFFFF#000000##000000
##BB6FEA1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8CEE
Deuteranopia (green-blind)
#6691E7
Tritanopia (blue-blind)
#B584A2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #bb6fea;
/* rgb */ color: rgb(187, 111, 234);
/* oklch */ color: oklch(67.5% 0.187 310.9);
Tailwind
colors: {
  custom: {
    50: '#d29bf1',
    500: '#bb6fea',
    950: '#000000',
  },
}
SCSS
$custom: #bb6fea;
$custom-light: #d29bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6fea",
  "rgb": {
    "r": 187,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 277.073,
    "s": 74.545,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67472,
    "c": 0.18734,
    "h": 310.9
  },
  "luminance": 0.27874
}

Semantic roles & 50–950 ramp

primary
#BB6FEA
secondary
#D6EDC7
accent
#D70F5B
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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