#BB8BEF#BB8BEF

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

Color values

HEX#BB8BEF
RGBrgb(187, 139, 239)
HSLhsl(269, 76%, 74%)
HSVhsv(269, 42%, 94%)
CMYKcmyk(21.8%, 41.8%, 0%, 6.3%)
CIE-LABlab(65.95, 37.33, -43.62)
CIE-LCHlch(65.95, 57.41, 310.55°)
OKLaboklab(72.16% 0.0854 -0.1215)
OKLCHoklch(72.16% 0.148 305.1)
XYZxyz(45.3029, 35.2623, 86.0643)
Luminance0.3526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8BEF #BFEF8B
analogous
#8B8DEF #BB8BEF #ED8BEF
triadic
#BB8BEF #EFBB8B #8BEFBB
tetradic
#BB8BEF #EF8B8D #BFEF8B #8BEFED
square
#BB8BEF #EF8B8D #BFEF8B #8BEFED
split-complementary
#BB8BEF #EFED8B #8DEF8B
monochromatic
#7C1FE0 #9B55E8 #BB8BEF #DBC1F6 #EFE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB8BEF#FFFFFF#000000##000000
##BB8BEF1.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)
#739FF3
Deuteranopia (green-blind)
#7EA0EC
Tritanopia (blue-blind)
#B39BB2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb8bef;
/* rgb */ color: rgb(187, 139, 239);
/* oklch */ color: oklch(72.2% 0.148 305.1);
Tailwind
colors: {
  custom: {
    50: '#d1adf4',
    500: '#bb8bef',
    950: '#000000',
  },
}
SCSS
$custom: #bb8bef;
$custom-light: #d1adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8bef",
  "rgb": {
    "r": 187,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 268.8,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72157,
    "c": 0.14847,
    "h": 305.1
  },
  "luminance": 0.35262
}

Semantic roles & 50–950 ramp

primary
#BB8BEF
secondary
#E6F3D8
accent
#D80E77
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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