#BB8BEC#BB8BEC

#BB8BEC is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.0% C 0.145 H 305.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#BB8BEC
RGBrgb(187, 139, 236)
HSLhsl(270, 72%, 74%)
HSVhsv(270, 41%, 93%)
CMYKcmyk(20.8%, 41.1%, 0%, 7.5%)
CIE-LABlab(65.82, 36.65, -42.19)
CIE-LCHlch(65.82, 55.88, 310.98°)
OKLaboklab(72.01% 0.0848 -0.1173)
OKLCHoklch(72.01% 0.145 305.9)
XYZxyz(44.8634, 35.0865, 83.7495)
Luminance0.3509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8BEC #BCEC8B
analogous
#8B8BEC #BB8BEC #EC8BEC
triadic
#BB8BEC #ECBB8B #8BECBB
tetradic
#BB8BEC #EC8B8B #BCEC8B #8BECEC
square
#BB8BEC #EC8B8B #BCEC8B #8BECEC
split-complementary
#BB8BEC #ECEC8B #8BEC8B
monochromatic
#7D24D9 #9C56E3 #BB8BEC #DAC0F5 #F0E5FB

Accessibility & contrast

On white

2.62
#BB8BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#BB8BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8BEC
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8BEC#FFFFFF#000000##000000
##BB8BEC1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EF0
Deuteranopia (green-blind)
#7FA0E9
Tritanopia (blue-blind)
#B49AB0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb8bec;
/* rgb */ color: rgb(187, 139, 236);
/* oklch */ color: oklch(72.0% 0.145 305.9);
Tailwind
colors: {
  custom: {
    50: '#d1adf2',
    500: '#bb8bec',
    950: '#000000',
  },
}
SCSS
$custom: #bb8bec;
$custom-light: #d1adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8bec",
  "rgb": {
    "r": 187,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 269.691,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7201,
    "c": 0.14478,
    "h": 305.9
  },
  "luminance": 0.35086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB8BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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