#BB6CEC#BB6CEC

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

Color values

HEX#BB6CEC
RGBrgb(187, 108, 236)
HSLhsl(277, 77%, 67%)
HSVhsv(277, 54%, 93%)
CMYKcmyk(20.8%, 54.2%, 0%, 7.5%)
CIE-LABlab(59.29, 53.23, -52.48)
CIE-LCHlch(59.29, 74.75, 315.40°)
OKLaboklab(67.15% 0.1266 -0.1471)
OKLCHoklch(67.15% 0.194 310.7)
XYZxyz(40.9936, 27.3469, 82.4596)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6CEC #9DEC6C
analogous
#7B6CEC #BB6CEC #EC6CDD
triadic
#BB6CEC #ECBB6C #6CECBB
tetradic
#BB6CEC #EC7B6C #9DEC6C #6CDDEC
square
#BB6CEC #EC7B6C #9DEC6C #6CDDEC
split-complementary
#BB6CEC #DDEC6C #6CEC7B
monochromatic
#8319C4 #A236E5 #BB6CEC #D4A2F3 #EDD8FA

Accessibility & contrast

On white

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

On black

6.47
#BB6CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6CEC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6CEC#FFFFFF#000000##000000
##BB6CEC1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#468BF0
Deuteranopia (green-blind)
#6190E9
Tritanopia (blue-blind)
#B582A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #bb6cec;
/* rgb */ color: rgb(187, 108, 236);
/* oklch */ color: oklch(67.2% 0.194 310.7);
Tailwind
colors: {
  custom: {
    50: '#d299f3',
    500: '#bb6cec',
    950: '#000000',
  },
}
SCSS
$custom: #bb6cec;
$custom-light: #d299f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6cec",
  "rgb": {
    "r": 187,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 277.031,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67151,
    "c": 0.19411,
    "h": 310.7
  },
  "luminance": 0.27346
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB6CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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