#BB8DF8#BB8DF8

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

Color values

HEX#BB8DF8
RGBrgb(187, 141, 248)
HSLhsl(266, 88%, 76%)
HSVhsv(266, 43%, 97%)
CMYKcmyk(24.6%, 43.1%, 0%, 2.7%)
CIE-LABlab(66.82, 38.29, -47.20)
CIE-LCHlch(66.82, 60.78, 309.05°)
OKLaboklab(72.95% 0.0841 -0.1319)
OKLCHoklch(72.95% 0.156 302.5)
XYZxyz(46.9580, 36.3919, 93.3392)
Luminance0.3639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8DF8 #CAF88D
analogous
#8D95F8 #BB8DF8 #F08DF8
triadic
#BB8DF8 #F8BB8D #8DF8BB
tetradic
#BB8DF8 #F88D95 #CAF88D #8DF8F0
square
#BB8DF8 #F88D95 #CAF88D #8DF8F0
split-complementary
#BB8DF8 #F8F08D #95F88D
monochromatic
#761AF1 #9953F4 #BB8DF8 #DDC7FC #EEE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB8DF8#FFFFFF#000000##000000
##BB8DF81.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)
#71A2FC
Deuteranopia (green-blind)
#7BA2F5
Tritanopia (blue-blind)
#B09FB7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb8df8;
/* rgb */ color: rgb(187, 141, 248);
/* oklch */ color: oklch(72.9% 0.156 302.5);
Tailwind
colors: {
  custom: {
    50: '#d1affb',
    500: '#bb8df8',
    950: '#000000',
  },
}
SCSS
$custom: #bb8df8;
$custom-light: #d1affb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8df8",
  "rgb": {
    "r": 187,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 265.794,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72946,
    "c": 0.1564,
    "h": 302.5
  },
  "luminance": 0.36392
}

Semantic roles & 50–950 ramp

primary
#BB8DF8
secondary
#E8F5D6
accent
#E50083
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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