#BB6BEA#BB6BEA

#BB6BEA is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.9% C 0.193 H 311.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#BB6BEA
RGBrgb(187, 107, 234)
HSLhsl(278, 75%, 67%)
HSVhsv(278, 54%, 92%)
CMYKcmyk(20.1%, 54.3%, 0%, 8.2%)
CIE-LABlab(58.99, 53.31, -51.85)
CIE-LCHlch(58.99, 74.36, 315.80°)
OKLaboklab(66.9% 0.1278 -0.1453)
OKLCHoklch(66.9% 0.193 311.3)
XYZxyz(40.5998, 27.0216, 80.9029)
Luminance0.2702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6BEA #9AEA6B
analogous
#7C6BEA #BB6BEA #EA6BDA
triadic
#BB6BEA #EABB6B #6BEABB
tetradic
#BB6BEA #EA7C6B #9AEA6B #6BDAEA
square
#BB6BEA #EA7C6B #9AEA6B #6BDAEA
split-complementary
#BB6BEA #DAEA6B #6BEA7C
monochromatic
#831BBF #A235E2 #BB6BEA #D4A1F2 #ECD6F9

Accessibility & contrast

On white

3.28
#BB6BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#BB6BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6BEA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6BEA#FFFFFF#000000##000000
##BB6BEA1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEE
Deuteranopia (green-blind)
#6290E7
Tritanopia (blue-blind)
#B681A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #bb6bea;
/* rgb */ color: rgb(187, 107, 234);
/* oklch */ color: oklch(66.9% 0.193 311.3);
Tailwind
colors: {
  custom: {
    50: '#d298f1',
    500: '#bb6bea',
    950: '#000000',
  },
}
SCSS
$custom: #bb6bea;
$custom-light: #d298f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6bea",
  "rgb": {
    "r": 187,
    "g": 107,
    "b": 234
  },
  "hsl": {
    "h": 277.795,
    "s": 75.148,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66896,
    "c": 0.19346,
    "h": 311.3
  },
  "luminance": 0.27021
}

Semantic roles & 50–950 ramp

primary
#BB6BEA
secondary
#D3EDC4
accent
#D70E59
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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