#BB9DF8#BB9DF8

#BB9DF8 is a light, vivid violet. Relative luminance 0.415; OKLCH L 75.7% C 0.131 H 298.4°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#BB9DF8
RGBrgb(187, 157, 248)
HSLhsl(260, 87%, 79%)
HSVhsv(260, 37%, 97%)
CMYKcmyk(24.6%, 36.7%, 0%, 2.7%)
CIE-LABlab(70.49, 29.43, -41.43)
CIE-LCHlch(70.49, 50.82, 305.39°)
OKLaboklab(75.73% 0.0623 -0.1152)
OKLCHoklch(75.73% 0.131 298.4)
XYZxyz(49.4899, 41.4557, 94.1832)
Luminance0.4146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9DF8 #DAF89D
analogous
#9DADF8 #BB9DF8 #E99DF8
triadic
#BB9DF8 #F8BB9D #9DF8BB
tetradic
#BB9DF8 #F89DAD #DAF89D #9DF8E9
square
#BB9DF8 #F89DAD #DAF89D #9DF8E9
split-complementary
#BB9DF8 #F8E99D #ADF89D
monochromatic
#6C2BF0 #9364F4 #BB9DF8 #E3D6FC #EBE2FD

Accessibility & contrast

On white

2.26
#BB9DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#BB9DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9DF8
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9DF8#FFFFFF#000000##000000
##BB9DF81.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ACFC
Deuteranopia (green-blind)
#8BACF6
Tritanopia (blue-blind)
#AFACBF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9df8;
/* rgb */ color: rgb(187, 157, 248);
/* oklch */ color: oklch(75.7% 0.131 298.4);
Tailwind
colors: {
  custom: {
    50: '#d1bafb',
    500: '#bb9df8',
    950: '#000000',
  },
}
SCSS
$custom: #bb9df8;
$custom-light: #d1bafb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9df8",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 248
  },
  "hsl": {
    "h": 259.78,
    "s": 86.667,
    "l": 79.412
  },
  "oklch": {
    "l": 0.75728,
    "c": 0.13097,
    "h": 298.4
  },
  "luminance": 0.41456
}

Semantic roles & 50–950 ramp

primary
#BB9DF8
secondary
#EBF5D6
accent
#E30299
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #BB9DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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