#BB7EDA#BB7EDA

#BB7EDA is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.0% C 0.145 H 313.6°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#BB7EDA
RGBrgb(187, 126, 218)
HSLhsl(280, 55%, 67%)
HSVhsv(280, 42%, 85%)
CMYKcmyk(14.2%, 42.2%, 0%, 14.5%)
CIE-LABlab(62.13, 39.83, -37.98)
CIE-LCHlch(62.13, 55.04, 316.37°)
OKLaboklab(68.97% 0.0999 -0.1051)
OKLCHoklch(68.97% 0.145 313.6)
XYZxyz(40.6072, 30.5493, 70.0736)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EDA #9DDA7E
analogous
#8D7EDA #BB7EDA #DA7ECB
triadic
#BB7EDA #DABB7E #7EDABB
tetradic
#BB7EDA #DA8D7E #9DDA7E #7ECBDA
square
#BB7EDA #DA8D7E #9DDA7E #7ECBDA
split-complementary
#BB7EDA #CBDA7E #7EDA8D
monochromatic
#8331AC #A24ECC #BB7EDA #D4AEE8 #EDDDF5

Accessibility & contrast

On white

2.95
#BB7EDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#BB7EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EDA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EDA#FFFFFF#000000##000000
##BB7EDA1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D93DD
Deuteranopia (green-blind)
#7C98D7
Tritanopia (blue-blind)
#B98BA2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bb7eda;
/* rgb */ color: rgb(187, 126, 218);
/* oklch */ color: oklch(69.0% 0.145 313.6);
Tailwind
colors: {
  custom: {
    50: '#d1a4e6',
    500: '#bb7eda',
    950: '#000000',
  },
}
SCSS
$custom: #bb7eda;
$custom-light: #d1a4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7eda",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 279.783,
    "s": 55.422,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68969,
    "c": 0.14505,
    "h": 313.6
  },
  "luminance": 0.30548
}

Semantic roles & 50–950 ramp

primary
#BB7EDA
secondary
#D5E8CC
accent
#C32359
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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