#BB7AEE#BB7AEE

#BB7AEE is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.3% C 0.175 H 308.4°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#BB7AEE
RGBrgb(187, 122, 238)
HSLhsl(274, 77%, 71%)
HSVhsv(274, 49%, 93%)
CMYKcmyk(21.4%, 48.7%, 0%, 6.7%)
CIE-LABlab(62.22, 46.34, -48.96)
CIE-LCHlch(62.22, 67.41, 313.43°)
OKLaboklab(69.35% 0.1084 -0.1369)
OKLCHoklch(69.35% 0.175 308.4)
XYZxyz(42.8827, 30.6575, 84.5308)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7AEE #ADEE7A
analogous
#817AEE #BB7AEE #EE7AE7
triadic
#BB7AEE #EEBB7A #7AEEBB
tetradic
#BB7AEE #EE817A #ADEE7A #7AE7EE
square
#BB7AEE #EE817A #ADEE7A #7AE7EE
split-complementary
#BB7AEE #E7EE7A #7AEE81
monochromatic
#821BD3 #9F44E7 #BB7AEE #D7B0F5 #F1E4FC

Accessibility & contrast

On white

2.94
#BB7AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#BB7AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7AEE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7AEE#FFFFFF#000000##000000
##BB7AEE1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B94F2
Deuteranopia (green-blind)
#6E97EB
Tritanopia (blue-blind)
#B48DA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bb7aee;
/* rgb */ color: rgb(187, 122, 238);
/* oklch */ color: oklch(69.3% 0.175 308.4);
Tailwind
colors: {
  custom: {
    50: '#d2a2f4',
    500: '#bb7aee',
    950: '#000000',
  },
}
SCSS
$custom: #bb7aee;
$custom-light: #d2a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7aee",
  "rgb": {
    "r": 187,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 273.621,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69346,
    "c": 0.17462,
    "h": 308.4
  },
  "luminance": 0.30657
}

Semantic roles & 50–950 ramp

primary
#BB7AEE
secondary
#E0F2D2
accent
#DA0C66
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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