#BB8AEA#BB8AEA

#BB8AEA is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.7% C 0.144 H 306.6°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#BB8AEA
RGBrgb(187, 138, 234)
HSLhsl(271, 70%, 73%)
HSVhsv(271, 41%, 92%)
CMYKcmyk(20.1%, 41%, 0%, 8.2%)
CIE-LABlab(65.50, 36.75, -41.58)
CIE-LCHlch(65.50, 55.49, 311.47°)
OKLaboklab(71.74% 0.0859 -0.1156)
OKLCHoklch(71.74% 0.144 306.6)
XYZxyz(44.4303, 34.6826, 82.1797)
Luminance0.3468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8AEA #B9EA8A
analogous
#8B8AEA #BB8AEA #EA8AE9
triadic
#BB8AEA #EABB8A #8AEABB
tetradic
#BB8AEA #EA8B8A #B9EA8A #8AE9EA
square
#BB8AEA #EA8B8A #B9EA8A #8AE9EA
split-complementary
#BB8AEA #E9EA8A #8AEA8B
monochromatic
#7F26D4 #9D56E1 #BB8AEA #D9BEF3 #F0E5FA

Accessibility & contrast

On white

2.65
#BB8AEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#BB8AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8AEA
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8AEA#FFFFFF#000000##000000
##BB8AEA1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#749DEE
Deuteranopia (green-blind)
#7F9FE7
Tritanopia (blue-blind)
#B499AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb8aea;
/* rgb */ color: rgb(187, 138, 234);
/* oklch */ color: oklch(71.7% 0.144 306.6);
Tailwind
colors: {
  custom: {
    50: '#d1adf1',
    500: '#bb8aea',
    950: '#000000',
  },
}
SCSS
$custom: #bb8aea;
$custom-light: #d1adf1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8aea",
  "rgb": {
    "r": 187,
    "g": 138,
    "b": 234
  },
  "hsl": {
    "h": 270.625,
    "s": 69.565,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71743,
    "c": 0.14397,
    "h": 306.6
  },
  "luminance": 0.34682
}

Semantic roles & 50–950 ramp

primary
#BB8AEA
secondary
#E5F2D9
accent
#D21471
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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