#BB6DEC#BB6DEC

#BB6DEC is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.3% C 0.193 H 310.6°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#BB6DEC
RGBrgb(187, 109, 236)
HSLhsl(277, 77%, 68%)
HSVhsv(277, 54%, 93%)
CMYKcmyk(20.8%, 53.8%, 0%, 7.5%)
CIE-LABlab(59.49, 52.72, -52.18)
CIE-LCHlch(59.49, 74.17, 315.30°)
OKLaboklab(67.29% 0.1253 -0.1462)
OKLCHoklch(67.29% 0.193 310.6)
XYZxyz(41.0997, 27.5590, 82.4949)
Luminance0.2756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6DEC #9EEC6D
analogous
#7B6DEC #BB6DEC #EC6DDE
triadic
#BB6DEC #ECBB6D #6DECBB
tetradic
#BB6DEC #EC7B6D #9EEC6D #6DDEEC
square
#BB6DEC #EC7B6D #9EEC6D #6DDEEC
split-complementary
#BB6DEC #DEEC6D #6DEC7B
monochromatic
#831AC5 #A237E5 #BB6DEC #D4A3F3 #EDD9FA

Accessibility & contrast

On white

3.23
#BB6DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#BB6DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6DEC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6DEC#FFFFFF#000000##000000
##BB6DEC1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#488CF0
Deuteranopia (green-blind)
#6291E9
Tritanopia (blue-blind)
#B583A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #bb6dec;
/* rgb */ color: rgb(187, 109, 236);
/* oklch */ color: oklch(67.3% 0.193 310.6);
Tailwind
colors: {
  custom: {
    50: '#d29af3',
    500: '#bb6dec',
    950: '#000000',
  },
}
SCSS
$custom: #bb6dec;
$custom-light: #d29af3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6dec",
  "rgb": {
    "r": 187,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 276.85,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67294,
    "c": 0.19259,
    "h": 310.6
  },
  "luminance": 0.27558
}

Semantic roles & 50–950 ramp

primary
#BB6DEC
secondary
#D6EEC7
accent
#D90C5B
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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