#BB9DF1#BB9DF1

#BB9DF1 is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.4% C 0.122 H 299.9°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#BB9DF1
RGBrgb(187, 157, 241)
HSLhsl(261, 75%, 78%)
HSVhsv(261, 35%, 95%)
CMYKcmyk(22.4%, 34.9%, 0%, 5.5%)
CIE-LABlab(70.20, 27.80, -38.08)
CIE-LCHlch(70.20, 47.15, 306.13°)
OKLaboklab(75.4% 0.0608 -0.1056)
OKLCHoklch(75.4% 0.122 299.9)
XYZxyz(48.4242, 41.0294, 88.5704)
Luminance0.4103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9DF1 #D3F19D
analogous
#9DA9F1 #BB9DF1 #E59DF1
triadic
#BB9DF1 #F1BB9D #9DF1BB
tetradic
#BB9DF1 #F19DA9 #D3F19D #9DF1E5
square
#BB9DF1 #F19DA9 #D3F19D #9DF1E5
split-complementary
#BB9DF1 #F1E59D #A9F19D
monochromatic
#7132E2 #9667E9 #BB9DF1 #E0D3F9 #ECE4FB

Accessibility & contrast

On white

2.28
#BB9DF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#BB9DF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9DF1
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9DF1#FFFFFF#000000##000000
##BB9DF11.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ABF4
Deuteranopia (green-blind)
#8EABEF
Tritanopia (blue-blind)
#B1ABBC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9df1;
/* rgb */ color: rgb(187, 157, 241);
/* oklch */ color: oklch(75.4% 0.122 299.9);
Tailwind
colors: {
  custom: {
    50: '#d1baf6',
    500: '#bb9df1',
    950: '#000000',
  },
}
SCSS
$custom: #bb9df1;
$custom-light: #d1baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9df1",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 241
  },
  "hsl": {
    "h": 261.429,
    "s": 75,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75403,
    "c": 0.1218,
    "h": 299.9
  },
  "luminance": 0.4103
}

Semantic roles & 50–950 ramp

primary
#BB9DF1
secondary
#E9F3D8
accent
#D70E8F
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085

Preview Lab

Preview with #BB9DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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