#BB8EFE#BB8EFE

#BB8EFE is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.4% C 0.162 H 301.0°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#BB8EFE
RGBrgb(187, 142, 254)
HSLhsl(264, 98%, 78%)
HSVhsv(264, 44%, 100%)
CMYKcmyk(26.4%, 44.1%, 0%, 0.4%)
CIE-LABlab(67.33, 39.15, -49.68)
CIE-LCHlch(67.33, 63.25, 308.24°)
OKLaboklab(73.42% 0.0837 -0.1391)
OKLCHoklch(73.42% 0.162 301)
XYZxyz(48.0519, 37.0664, 98.3697)
Luminance0.3707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EFE #D1FE8E
analogous
#8E99FE #BB8EFE #F38EFE
triadic
#BB8EFE #FEBB8E #8EFEBB
tetradic
#BB8EFE #FE8E99 #D1FE8E #8EFEF3
square
#BB8EFE #FE8E99 #D1FE8E #8EFEF3
split-complementary
#BB8EFE #FEF38E #99FE8E
monochromatic
#7215FD #9651FD #BB8EFE #E0CBFF #EDE1FF

Accessibility & contrast

On white

2.50
#BB8EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#BB8EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EFE
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EFE#FFFFFF#000000##000000
##BB8EFE1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#78A3FB
Tritanopia (blue-blind)
#AEA2BA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bb8efe;
/* rgb */ color: rgb(187, 142, 254);
/* oklch */ color: oklch(73.4% 0.162 301.0);
Tailwind
colors: {
  custom: {
    50: '#d2b0ff',
    500: '#bb8efe',
    950: '#000000',
  },
}
SCSS
$custom: #bb8efe;
$custom-light: #d2b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8efe",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 264.107,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.73421,
    "c": 0.16229,
    "h": 301
  },
  "luminance": 0.37067
}

Semantic roles & 50–950 ramp

primary
#BB8EFE
secondary
#E9F7D4
accent
#E60089
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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