#BB7AED#BB7AED

#BB7AED is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.3% C 0.173 H 308.6°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#BB7AED
RGBrgb(187, 122, 237)
HSLhsl(274, 76%, 70%)
HSVhsv(274, 49%, 93%)
CMYKcmyk(21.1%, 48.5%, 0%, 7.1%)
CIE-LABlab(62.17, 46.12, -48.48)
CIE-LCHlch(62.17, 66.92, 313.57°)
OKLaboklab(69.29% 0.1083 -0.1355)
OKLCHoklch(69.29% 0.173 308.6)
XYZxyz(42.7362, 30.5989, 83.7592)
Luminance0.3060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7AED #ACED7A
analogous
#817AED #BB7AED #ED7AE5
triadic
#BB7AED #EDBB7A #7AEDBB
tetradic
#BB7AED #ED817A #ACED7A #7AE5ED
square
#BB7AED #ED817A #ACED7A #7AE5ED
split-complementary
#BB7AED #E5ED7A #7AED81
monochromatic
#821CD0 #9F44E6 #BB7AED #D7B0F4 #F1E4FB

Accessibility & contrast

On white

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

On black

7.12
#BB7AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7AED
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7AED#FFFFFF#000000##000000
##BB7AED1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb7aed;
/* rgb */ color: rgb(187, 122, 237);
/* oklch */ color: oklch(69.3% 0.173 308.6);
Tailwind
colors: {
  custom: {
    50: '#d2a2f3',
    500: '#bb7aed',
    950: '#000000',
  },
}
SCSS
$custom: #bb7aed;
$custom-light: #d2a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7aed",
  "rgb": {
    "r": 187,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 273.913,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69293,
    "c": 0.17347,
    "h": 308.6
  },
  "luminance": 0.30598
}

Semantic roles & 50–950 ramp

primary
#BB7AED
secondary
#DFF1D2
accent
#D80D65
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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