#BB8AEB#BB8AEB

#BB8AEB is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.8% C 0.145 H 306.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#BB8AEB
RGBrgb(187, 138, 235)
HSLhsl(270, 71%, 73%)
HSVhsv(270, 41%, 92%)
CMYKcmyk(20.4%, 41.3%, 0%, 7.8%)
CIE-LABlab(65.55, 36.97, -42.06)
CIE-LCHlch(65.55, 56.00, 311.32°)
OKLaboklab(71.79% 0.0861 -0.1169)
OKLCHoklch(71.79% 0.145 306.3)
XYZxyz(44.5744, 34.7402, 82.9385)
Luminance0.3474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8AEB #BAEB8A
analogous
#8A8AEB #BB8AEB #EB8AEB
triadic
#BB8AEB #EBBB8A #8AEBBB
tetradic
#BB8AEB #EB8A8A #BAEB8A #8AEBEB
square
#BB8AEB #EB8A8A #BAEB8A #8AEBEB
split-complementary
#BB8AEB #EBEB8A #8AEB8A
monochromatic
#7E25D6 #9D56E2 #BB8AEB #D9BEF4 #F0E5FB

Accessibility & contrast

On white

2.64
#BB8AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#BB8AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8AEB
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8AEB#FFFFFF#000000##000000
##BB8AEB1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEF
Deuteranopia (green-blind)
#7FA0E8
Tritanopia (blue-blind)
#B499AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb8aeb;
/* rgb */ color: rgb(187, 138, 235);
/* oklch */ color: oklch(71.8% 0.145 306.3);
Tailwind
colors: {
  custom: {
    50: '#d1adf2',
    500: '#bb8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #bb8aeb;
$custom-light: #d1adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8aeb",
  "rgb": {
    "r": 187,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 270.309,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71792,
    "c": 0.1452,
    "h": 306.3
  },
  "luminance": 0.3474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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