#BB8FEE#BB8FEE

#BB8FEE is a light, vivid violet. Relative luminance 0.364; OKLCH L 72.8% C 0.141 H 304.5°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#BB8FEE
RGBrgb(187, 143, 238)
HSLhsl(268, 74%, 75%)
HSVhsv(268, 40%, 93%)
CMYKcmyk(21.4%, 39.9%, 0%, 6.7%)
CIE-LABlab(66.81, 34.89, -41.73)
CIE-LCHlch(66.81, 54.39, 309.90°)
OKLaboklab(72.79% 0.0796 -0.116)
OKLCHoklch(72.79% 0.141 304.5)
XYZxyz(45.7454, 36.3829, 85.4850)
Luminance0.3638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8FEE #C2EE8F
analogous
#8F93EE #BB8FEE #EA8FEE
triadic
#BB8FEE #EEBB8F #8FEEBB
tetradic
#BB8FEE #EE8F93 #C2EE8F #8FEEEA
square
#BB8FEE #EE8F93 #C2EE8F #8FEEEA
split-complementary
#BB8FEE #EEEA8F #93EE8F
monochromatic
#7A25DE #9B5AE6 #BB8FEE #DBC4F6 #EFE4FB

Accessibility & contrast

On white

2.54
#BB8FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#BB8FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8FEE
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8FEE#FFFFFF#000000##000000
##BB8FEE1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1F2
Deuteranopia (green-blind)
#82A3EB
Tritanopia (blue-blind)
#B39EB3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb8fee;
/* rgb */ color: rgb(187, 143, 238);
/* oklch */ color: oklch(72.8% 0.141 304.5);
Tailwind
colors: {
  custom: {
    50: '#d1b0f4',
    500: '#bb8fee',
    950: '#000000',
  },
}
SCSS
$custom: #bb8fee;
$custom-light: #d1b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8fee",
  "rgb": {
    "r": 187,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 267.789,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72791,
    "c": 0.14071,
    "h": 304.5
  },
  "luminance": 0.36383
}

Semantic roles & 50–950 ramp

primary
#BB8FEE
secondary
#E6F3D8
accent
#D6107A
background
#FDFAFE
surface
#FAF5FD
border
#D3CFD5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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