#BB8DFE#BB8DFE

#BB8DFE is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.3% C 0.164 H 301.2°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#BB8DFE
RGBrgb(187, 141, 254)
HSLhsl(264, 98%, 77%)
HSVhsv(264, 44%, 100%)
CMYKcmyk(26.4%, 44.5%, 0%, 0.4%)
CIE-LABlab(67.10, 39.70, -50.03)
CIE-LCHlch(67.10, 63.87, 308.43°)
OKLaboklab(73.25% 0.085 -0.1401)
OKLCHoklch(73.25% 0.164 301.2)
XYZxyz(47.9038, 36.7702, 98.3203)
Luminance0.3677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8DFE #D0FE8D
analogous
#8D97FE #BB8DFE #F48DFE
triadic
#BB8DFE #FEBB8D #8DFEBB
tetradic
#BB8DFE #FE8D97 #D0FE8D #8DFEF4
square
#BB8DFE #FE8D97 #D0FE8D #8DFEF4
split-complementary
#BB8DFE #FEF48D #97FE8D
monochromatic
#7314FD #9750FD #BB8DFE #DFCAFF #EDE1FF

Accessibility & contrast

On white

2.51
#BB8DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#BB8DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8DFE
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8DFE#FFFFFF#000000##000000
##BB8DFE1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#77A3FB
Tritanopia (blue-blind)
#AFA1B9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb8dfe;
/* rgb */ color: rgb(187, 141, 254);
/* oklch */ color: oklch(73.3% 0.164 301.2);
Tailwind
colors: {
  custom: {
    50: '#d2afff',
    500: '#bb8dfe',
    950: '#000000',
  },
}
SCSS
$custom: #bb8dfe;
$custom-light: #d2afff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8dfe",
  "rgb": {
    "r": 187,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 264.425,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.73254,
    "c": 0.16385,
    "h": 301.2
  },
  "luminance": 0.3677
}

Semantic roles & 50–950 ramp

primary
#BB8DFE
secondary
#E9F7D4
accent
#E60088
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB8DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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