#BB6CEF#BB6CEF

#BB6CEF is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.3% C 0.197 H 310.0°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#BB6CEF
RGBrgb(187, 108, 239)
HSLhsl(276, 80%, 68%)
HSVhsv(276, 55%, 94%)
CMYKcmyk(21.8%, 54.8%, 0%, 6.3%)
CIE-LABlab(59.46, 53.88, -53.90)
CIE-LCHlch(59.46, 76.21, 314.99°)
OKLaboklab(67.32% 0.1268 -0.1512)
OKLCHoklch(67.32% 0.197 310)
XYZxyz(41.4331, 27.5227, 84.7743)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6CEF #A0EF6C
analogous
#796CEF #BB6CEF #EF6CE2
triadic
#BB6CEF #EFBB6C #6CEFBB
tetradic
#BB6CEF #EF796C #A0EF6C #6CE2EF
square
#BB6CEF #EF796C #A0EF6C #6CE2EF
split-complementary
#BB6CEF #E2EF6C #6CEF79
monochromatic
#8316CB #A135E9 #BB6CEF #D5A3F5 #EEDAFB

Accessibility & contrast

On white

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

On black

6.50
#BB6CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6CEF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6CEF#FFFFFF#000000##000000
##BB6CEF1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#438CF3
Deuteranopia (green-blind)
#5F90EC
Tritanopia (blue-blind)
#B483A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #bb6cef;
/* rgb */ color: rgb(187, 108, 239);
/* oklch */ color: oklch(67.3% 0.197 310.0);
Tailwind
colors: {
  custom: {
    50: '#d299f5',
    500: '#bb6cef',
    950: '#000000',
  },
}
SCSS
$custom: #bb6cef;
$custom-light: #d299f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6cef",
  "rgb": {
    "r": 187,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 276.183,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67322,
    "c": 0.19735,
    "h": 310
  },
  "luminance": 0.27522
}

Semantic roles & 50–950 ramp

primary
#BB6CEF
secondary
#D7EFC7
accent
#DD095D
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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