#BB8CEA#BB8CEA

#BB8CEA is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.1% C 0.141 H 306.2°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#BB8CEA
RGBrgb(187, 140, 234)
HSLhsl(270, 69%, 73%)
HSVhsv(270, 40%, 92%)
CMYKcmyk(20.1%, 40.2%, 0%, 8.2%)
CIE-LABlab(65.95, 35.65, -40.87)
CIE-LCHlch(65.95, 54.23, 311.09°)
OKLaboklab(72.08% 0.0831 -0.1135)
OKLCHoklch(72.08% 0.141 306.2)
XYZxyz(44.7199, 35.2618, 82.2763)
Luminance0.3526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8CEA #BBEA8C
analogous
#8C8CEA #BB8CEA #EA8CEA
triadic
#BB8CEA #EABB8C #8CEABB
tetradic
#BB8CEA #EA8C8C #BBEA8C #8CEAEA
square
#BB8CEA #EA8C8C #BBEA8C #8CEAEA
split-complementary
#BB8CEA #EAEA8C #8CEA8C
monochromatic
#7E27D5 #9C58E1 #BB8CEA #DAC0F3 #F0E5FA

Accessibility & contrast

On white

2.61
#BB8CEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#BB8CEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8CEA
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8CEA#FFFFFF#000000##000000
##BB8CEA1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEE
Deuteranopia (green-blind)
#81A1E7
Tritanopia (blue-blind)
#B49BB0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb8cea;
/* rgb */ color: rgb(187, 140, 234);
/* oklch */ color: oklch(72.1% 0.141 306.2);
Tailwind
colors: {
  custom: {
    50: '#d1aef1',
    500: '#bb8cea',
    950: '#000000',
  },
}
SCSS
$custom: #bb8cea;
$custom-light: #d1aef1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8cea",
  "rgb": {
    "r": 187,
    "g": 140,
    "b": 234
  },
  "hsl": {
    "h": 270,
    "s": 69.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72083,
    "c": 0.14068,
    "h": 306.2
  },
  "luminance": 0.35261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB8CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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