#BB7EFF#BB7EFF

#BB7EFF is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.9% C 0.188 H 303.8°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#BB7EFF
RGBrgb(187, 126, 255)
HSLhsl(268, 100%, 75%)
HSVhsv(268, 51%, 100%)
CMYKcmyk(26.7%, 50.6%, 0%, 0%)
CIE-LABlab(63.92, 48.07, -55.62)
CIE-LCHlch(63.92, 73.51, 310.84°)
OKLaboklab(70.9% 0.1048 -0.1563)
OKLCHoklch(70.9% 0.188 303.8)
XYZxyz(46.0004, 32.7066, 98.4780)
Luminance0.3271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EFF #C2FF7E
analogous
#7E82FF #BB7EFF #FB7EFF
triadic
#BB7EFF #FFBB7E #7EFFBB
tetradic
#BB7EFF #FF7E82 #C2FF7E #7EFFFB
square
#BB7EFF #FF7E82 #C2FF7E #7EFFFB
split-complementary
#BB7EFF #FFFB7E #82FF7E
monochromatic
#7A04FF #9B41FF #BB7EFF #DBBBFF #EFE0FF

Accessibility & contrast

On white

2.78
#BB7EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#BB7EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EFF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EFF#FFFFFF#000000##000000
##BB7EFF1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5599FF
Deuteranopia (green-blind)
#669BFC
Tritanopia (blue-blind)
#AF96B3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb7eff;
/* rgb */ color: rgb(187, 126, 255);
/* oklch */ color: oklch(70.9% 0.188 303.8);
Tailwind
colors: {
  custom: {
    50: '#d2a5ff',
    500: '#bb7eff',
    950: '#000000',
  },
}
SCSS
$custom: #bb7eff;
$custom-light: #d2a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7eff",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 268.372,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70896,
    "c": 0.18819,
    "h": 303.8
  },
  "luminance": 0.32707
}

Semantic roles & 50–950 ramp

primary
#BB7EFF
secondary
#E6F7D4
accent
#E60079
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BB7EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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