#BB8AFE#BB8AFE

#BB8AFE is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.8% C 0.169 H 301.9°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#BB8AFE
RGBrgb(187, 138, 254)
HSLhsl(265, 98%, 77%)
HSVhsv(265, 46%, 100%)
CMYKcmyk(26.4%, 45.7%, 0%, 0.4%)
CIE-LABlab(66.44, 41.34, -51.08)
CIE-LCHlch(66.44, 65.71, 308.99°)
OKLaboklab(72.76% 0.089 -0.1431)
OKLCHoklch(72.76% 0.169 301.9)
XYZxyz(47.4674, 35.8974, 98.1749)
Luminance0.3590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8AFE #CDFE8A
analogous
#8A93FE #BB8AFE #F58AFE
triadic
#BB8AFE #FEBB8A #8AFEBB
tetradic
#BB8AFE #FE8A93 #CDFE8A #8AFEF5
square
#BB8AFE #FE8A93 #CDFE8A #8AFEF5
split-complementary
#BB8AFE #FEF58A #93FE8A
monochromatic
#7411FD #984DFD #BB8AFE #DEC7FF #EDE1FF

Accessibility & contrast

On white

2.57
#BB8AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#BB8AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8AFE
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8AFE#FFFFFF#000000##000000
##BB8AFE1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#74A1FB
Tritanopia (blue-blind)
#AF9EB8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bb8afe;
/* rgb */ color: rgb(187, 138, 254);
/* oklch */ color: oklch(72.8% 0.169 301.9);
Tailwind
colors: {
  custom: {
    50: '#d2adff',
    500: '#bb8afe',
    950: '#000000',
  },
}
SCSS
$custom: #bb8afe;
$custom-light: #d2adff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8afe",
  "rgb": {
    "r": 187,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 265.345,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.72757,
    "c": 0.16853,
    "h": 301.9
  },
  "luminance": 0.35898
}

Semantic roles & 50–950 ramp

primary
#BB8AFE
secondary
#E8F7D4
accent
#E60085
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB8AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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