#BB8DF9#BB8DF9

#BB8DF9 is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.0% C 0.158 H 302.3°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#BB8DF9
RGBrgb(187, 141, 249)
HSLhsl(266, 90%, 76%)
HSVhsv(266, 43%, 98%)
CMYKcmyk(24.9%, 43.4%, 0%, 2.4%)
CIE-LABlab(66.87, 38.53, -47.67)
CIE-LCHlch(66.87, 61.29, 308.94°)
OKLaboklab(73% 0.0843 -0.1332)
OKLCHoklch(73% 0.158 302.3)
XYZxyz(47.1135, 36.4541, 94.1584)
Luminance0.3645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8DF9 #CBF98D
analogous
#8D95F9 #BB8DF9 #F18DF9
triadic
#BB8DF9 #F9BB8D #8DF9BB
tetradic
#BB8DF9 #F98D95 #CBF98D #8DF9F1
square
#BB8DF9 #F98D95 #CBF98D #8DF9F1
split-complementary
#BB8DF9 #F9F18D #95F98D
monochromatic
#7619F3 #9853F6 #BB8DF9 #DEC7FC #EEE2FD

Accessibility & contrast

On white

2.53
#BB8DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#BB8DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8DF9
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8DF9#FFFFFF#000000##000000
##BB8DF91.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A2FD
Deuteranopia (green-blind)
#7AA2F6
Tritanopia (blue-blind)
#B09FB7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb8df9;
/* rgb */ color: rgb(187, 141, 249);
/* oklch */ color: oklch(73.0% 0.158 302.3);
Tailwind
colors: {
  custom: {
    50: '#d1affb',
    500: '#bb8df9',
    950: '#000000',
  },
}
SCSS
$custom: #bb8df9;
$custom-light: #d1affb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8df9",
  "rgb": {
    "r": 187,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 265.556,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72997,
    "c": 0.15764,
    "h": 302.3
  },
  "luminance": 0.36454
}

Semantic roles & 50–950 ramp

primary
#BB8DF9
secondary
#E8F6D5
accent
#E60084
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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