#BB7AEA#BB7AEA

#BB7AEA is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.1% C 0.170 H 309.4°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#BB7AEA
RGBrgb(187, 122, 234)
HSLhsl(275, 73%, 70%)
HSVhsv(275, 48%, 92%)
CMYKcmyk(20.1%, 47.9%, 0%, 8.2%)
CIE-LABlab(62.02, 45.46, -47.05)
CIE-LCHlch(62.02, 65.42, 314.01°)
OKLaboklab(69.13% 0.1079 -0.1314)
OKLCHoklch(69.13% 0.17 309.4)
XYZxyz(42.3015, 30.4250, 81.4701)
Luminance0.3042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7AEA #A9EA7A
analogous
#837AEA #BB7AEA #EA7AE1
triadic
#BB7AEA #EABB7A #7AEABB
tetradic
#BB7AEA #EA837A #A9EA7A #7AE1EA
square
#BB7AEA #EA837A #A9EA7A #7AE1EA
split-complementary
#BB7AEA #E1EA7A #7AEA83
monochromatic
#8220CA #A045E2 #BB7AEA #D6AFF2 #F1E4FB

Accessibility & contrast

On white

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

On black

7.08
#BB7AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7AEA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7AEA#FFFFFF#000000##000000
##BB7AEA1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EE
Deuteranopia (green-blind)
#7097E7
Tritanopia (blue-blind)
#B58CA7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bb7aea;
/* rgb */ color: rgb(187, 122, 234);
/* oklch */ color: oklch(69.1% 0.170 309.4);
Tailwind
colors: {
  custom: {
    50: '#d2a2f1',
    500: '#bb7aea',
    950: '#000000',
  },
}
SCSS
$custom: #bb7aea;
$custom-light: #d2a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7aea",
  "rgb": {
    "r": 187,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 274.821,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69134,
    "c": 0.17002,
    "h": 309.4
  },
  "luminance": 0.30424
}

Semantic roles & 50–950 ramp

primary
#BB7AEA
secondary
#DDF0D0
accent
#D51163
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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