#BB8CEB#BB8CEB

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

Color values

HEX#BB8CEB
RGBrgb(187, 140, 235)
HSLhsl(270, 70%, 74%)
HSVhsv(270, 40%, 92%)
CMYKcmyk(20.4%, 40.4%, 0%, 7.8%)
CIE-LABlab(66.00, 35.87, -41.35)
CIE-LCHlch(66.00, 54.74, 310.94°)
OKLaboklab(72.13% 0.0833 -0.1149)
OKLCHoklch(72.13% 0.142 305.9)
XYZxyz(44.8640, 35.3194, 83.0350)
Luminance0.3532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8CEB #BCEB8C
analogous
#8C8CEB #BB8CEB #EA8CEB
triadic
#BB8CEB #EBBB8C #8CEBBB
tetradic
#BB8CEB #EB8C8C #BCEB8C #8CEBEA
square
#BB8CEB #EB8C8C #BCEB8C #8CEBEA
split-complementary
#BB8CEB #EBEA8C #8CEB8C
monochromatic
#7D25D7 #9C58E2 #BB8CEB #DAC0F4 #F0E5FA

Accessibility & contrast

On white

2.60
#BB8CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#BB8CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8CEB
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8CEB#FFFFFF#000000##000000
##BB8CEB1.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FEF
Deuteranopia (green-blind)
#81A1E8
Tritanopia (blue-blind)
#B49BB0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb8ceb;
/* rgb */ color: rgb(187, 140, 235);
/* oklch */ color: oklch(72.1% 0.142 305.9);
Tailwind
colors: {
  custom: {
    50: '#d1aef2',
    500: '#bb8ceb',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ceb;
$custom-light: #d1aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ceb",
  "rgb": {
    "r": 187,
    "g": 140,
    "b": 235
  },
  "hsl": {
    "h": 269.684,
    "s": 70.37,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72132,
    "c": 0.14191,
    "h": 305.9
  },
  "luminance": 0.35319
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB8CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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