#BB6BEB#BB6BEB

#BB6BEB is a light, vivid violet. Relative luminance 0.271; OKLCH L 67.0% C 0.195 H 311.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#BB6BEB
RGBrgb(187, 107, 235)
HSLhsl(278, 76%, 67%)
HSVhsv(278, 54%, 92%)
CMYKcmyk(20.4%, 54.5%, 0%, 7.8%)
CIE-LABlab(59.05, 53.52, -52.32)
CIE-LCHlch(59.05, 74.85, 315.65°)
OKLaboklab(66.95% 0.1278 -0.1466)
OKLCHoklch(66.95% 0.195 311.1)
XYZxyz(40.7439, 27.0792, 81.6616)
Luminance0.2708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6BEB #9BEB6B
analogous
#7B6BEB #BB6BEB #EB6BDB
triadic
#BB6BEB #EBBB6B #6BEBBB
tetradic
#BB6BEB #EB7B6B #9BEB6B #6BDBEB
square
#BB6BEB #EB7B6B #9BEB6B #6BDBEB
split-complementary
#BB6BEB #DBEB6B #6BEB7B
monochromatic
#831AC1 #A235E4 #BB6BEB #D4A1F2 #EDD7FA

Accessibility & contrast

On white

3.27
#BB6BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#BB6BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6BEB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6BEB#FFFFFF#000000##000000
##BB6BEB1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AEF
Deuteranopia (green-blind)
#6190E8
Tritanopia (blue-blind)
#B581A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #bb6beb;
/* rgb */ color: rgb(187, 107, 235);
/* oklch */ color: oklch(67.0% 0.195 311.1);
Tailwind
colors: {
  custom: {
    50: '#d298f2',
    500: '#bb6beb',
    950: '#000000',
  },
}
SCSS
$custom: #bb6beb;
$custom-light: #d298f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6beb",
  "rgb": {
    "r": 187,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 277.5,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66953,
    "c": 0.19454,
    "h": 311.1
  },
  "luminance": 0.27078
}

Semantic roles & 50–950 ramp

primary
#BB6BEB
secondary
#D4EDC5
accent
#D80D59
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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