#BB8BEB#BB8BEB

#BB8BEB is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.0% C 0.144 H 306.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#BB8BEB
RGBrgb(187, 139, 235)
HSLhsl(270, 71%, 73%)
HSVhsv(270, 41%, 92%)
CMYKcmyk(20.4%, 40.9%, 0%, 7.8%)
CIE-LABlab(65.77, 36.42, -41.70)
CIE-LCHlch(65.77, 55.37, 311.13°)
OKLaboklab(71.96% 0.0847 -0.1159)
OKLCHoklch(71.96% 0.144 306.1)
XYZxyz(44.7185, 35.0285, 82.9865)
Luminance0.3503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8BEB #BBEB8B
analogous
#8B8BEB #BB8BEB #EB8BEB
triadic
#BB8BEB #EBBB8B #8BEBBB
tetradic
#BB8BEB #EB8B8B #BBEB8B #8BEBEB
square
#BB8BEB #EB8B8B #BBEB8B #8BEBEB
split-complementary
#BB8BEB #EBEB8B #8BEB8B
monochromatic
#7E25D7 #9C57E2 #BB8BEB #DABFF4 #F0E5FA

Accessibility & contrast

On white

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

On black

8.01
#BB8BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8BEB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8BEB#FFFFFF#000000##000000
##BB8BEB1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEF
Deuteranopia (green-blind)
#80A0E8
Tritanopia (blue-blind)
#B49AB0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb8beb;
/* rgb */ color: rgb(187, 139, 235);
/* oklch */ color: oklch(72.0% 0.144 306.1);
Tailwind
colors: {
  custom: {
    50: '#d1adf2',
    500: '#bb8beb',
    950: '#000000',
  },
}
SCSS
$custom: #bb8beb;
$custom-light: #d1adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8beb",
  "rgb": {
    "r": 187,
    "g": 139,
    "b": 235
  },
  "hsl": {
    "h": 270,
    "s": 70.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71961,
    "c": 0.14355,
    "h": 306.1
  },
  "luminance": 0.35028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB8BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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