#BB7AEB#BB7AEB

#BB7AEB is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.2% C 0.171 H 309.1°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#BB7AEB
RGBrgb(187, 122, 235)
HSLhsl(275, 74%, 70%)
HSVhsv(275, 48%, 92%)
CMYKcmyk(20.4%, 48.1%, 0%, 7.8%)
CIE-LABlab(62.07, 45.68, -47.53)
CIE-LCHlch(62.07, 65.92, 313.86°)
OKLaboklab(69.19% 0.1081 -0.1327)
OKLCHoklch(69.19% 0.171 309.1)
XYZxyz(42.4456, 30.4826, 82.2289)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7AEB #AAEB7A
analogous
#827AEB #BB7AEB #EB7AE3
triadic
#BB7AEB #EBBB7A #7AEBBB
tetradic
#BB7AEB #EB827A #AAEB7A #7AE3EB
square
#BB7AEB #EB827A #AAEB7A #7AE3EB
split-complementary
#BB7AEB #E3EB7A #7AEB82
monochromatic
#821FCC #A045E3 #BB7AEB #D6AFF3 #F1E4FB

Accessibility & contrast

On white

2.96
#BB7AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#BB7AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7AEB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7AEB#FFFFFF#000000##000000
##BB7AEB1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EF
Deuteranopia (green-blind)
#7097E8
Tritanopia (blue-blind)
#B58DA8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bb7aeb;
/* rgb */ color: rgb(187, 122, 235);
/* oklch */ color: oklch(69.2% 0.171 309.1);
Tailwind
colors: {
  custom: {
    50: '#d2a2f2',
    500: '#bb7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #bb7aeb;
$custom-light: #d2a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7aeb",
  "rgb": {
    "r": 187,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 274.513,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.69187,
    "c": 0.17116,
    "h": 309.1
  },
  "luminance": 0.30482
}

Semantic roles & 50–950 ramp

primary
#BB7AEB
secondary
#DEF0D1
accent
#D61064
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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