#BB8AEC#BB8AEC

#BB8AEC is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.8% C 0.146 H 306.1°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#BB8AEC
RGBrgb(187, 138, 236)
HSLhsl(270, 72%, 73%)
HSVhsv(270, 42%, 93%)
CMYKcmyk(20.8%, 41.5%, 0%, 7.5%)
CIE-LABlab(65.59, 37.20, -42.54)
CIE-LCHlch(65.59, 56.51, 311.17°)
OKLaboklab(71.84% 0.0862 -0.1183)
OKLCHoklch(71.84% 0.146 306.1)
XYZxyz(44.7193, 34.7982, 83.7015)
Luminance0.3480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8AEC #BBEC8A
analogous
#8A8AEC #BB8AEC #EC8AEC
triadic
#BB8AEC #ECBB8A #8AECBB
tetradic
#BB8AEC #EC8A8A #BBEC8A #8AECEC
square
#BB8AEC #EC8A8A #BBEC8A #8AECEC
split-complementary
#BB8AEC #ECEC8A #8AEC8A
monochromatic
#7E23D8 #9C55E3 #BB8AEC #DABFF5 #F0E5FB

Accessibility & contrast

On white

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

On black

7.96
#BB8AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8AEC
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8AEC#FFFFFF#000000##000000
##BB8AEC1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF0
Deuteranopia (green-blind)
#7EA0E9
Tritanopia (blue-blind)
#B49AB0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb8aec;
/* rgb */ color: rgb(187, 138, 236);
/* oklch */ color: oklch(71.8% 0.146 306.1);
Tailwind
colors: {
  custom: {
    50: '#d1adf2',
    500: '#bb8aec',
    950: '#000000',
  },
}
SCSS
$custom: #bb8aec;
$custom-light: #d1adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8aec",
  "rgb": {
    "r": 187,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 270,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71841,
    "c": 0.14642,
    "h": 306.1
  },
  "luminance": 0.34798
}

Semantic roles & 50–950 ramp

primary
#BB8AEC
secondary
#E6F2D9
accent
#D41173
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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