#BB6CEB#BB6CEB

#BB6CEB is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.1% C 0.193 H 311.0°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#BB6CEB
RGBrgb(187, 108, 235)
HSLhsl(277, 76%, 67%)
HSVhsv(277, 54%, 92%)
CMYKcmyk(20.4%, 54%, 0%, 7.8%)
CIE-LABlab(59.24, 53.01, -52.01)
CIE-LCHlch(59.24, 74.27, 315.55°)
OKLaboklab(67.1% 0.1266 -0.1457)
OKLCHoklch(67.1% 0.193 311)
XYZxyz(40.8487, 27.2889, 81.6966)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6CEB #9CEB6C
analogous
#7C6CEB #BB6CEB #EB6CDB
triadic
#BB6CEB #EBBB6C #6CEBBB
tetradic
#BB6CEB #EB7C6C #9CEB6C #6CDBEB
square
#BB6CEB #EB7C6C #9CEB6C #6CDBEB
split-complementary
#BB6CEB #DBEB6C #6CEB7C
monochromatic
#831AC2 #A236E4 #BB6CEB #D4A2F2 #EDD8FA

Accessibility & contrast

On white

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

On black

6.46
#BB6CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6CEB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6CEB#FFFFFF#000000##000000
##BB6CEB1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BEF
Deuteranopia (green-blind)
#6290E8
Tritanopia (blue-blind)
#B582A1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #bb6ceb;
/* rgb */ color: rgb(187, 108, 235);
/* oklch */ color: oklch(67.1% 0.193 311.0);
Tailwind
colors: {
  custom: {
    50: '#d299f2',
    500: '#bb6ceb',
    950: '#000000',
  },
}
SCSS
$custom: #bb6ceb;
$custom-light: #d299f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6ceb",
  "rgb": {
    "r": 187,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 277.323,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67095,
    "c": 0.19303,
    "h": 311
  },
  "luminance": 0.27288
}

Semantic roles & 50–950 ramp

primary
#BB6CEB
secondary
#D5EDC5
accent
#D80D5A
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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