#BB9DF7#BB9DF7

#BB9DF7 is a light, vivid violet. Relative luminance 0.414; OKLCH L 75.7% C 0.130 H 298.6°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#BB9DF7
RGBrgb(187, 157, 247)
HSLhsl(260, 85%, 79%)
HSVhsv(260, 36%, 97%)
CMYKcmyk(24.3%, 36.4%, 0%, 3.1%)
CIE-LABlab(70.45, 29.20, -40.96)
CIE-LCHlch(70.45, 50.30, 305.48°)
OKLaboklab(75.68% 0.0621 -0.1138)
OKLCHoklch(75.68% 0.13 298.6)
XYZxyz(49.3352, 41.3938, 93.3683)
Luminance0.4139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9DF7 #D9F79D
analogous
#9DACF7 #BB9DF7 #E89DF7
triadic
#BB9DF7 #F7BB9D #9DF7BB
tetradic
#BB9DF7 #F79DAC #D9F79D #9DF7E8
square
#BB9DF7 #F79DAC #D9F79D #9DF7E8
split-complementary
#BB9DF7 #F7E89D #ACF79D
monochromatic
#6C2CEE #9464F2 #BB9DF7 #E2D6FC #EBE3FD

Accessibility & contrast

On white

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

On black

9.28
#BB9DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9DF7
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9DF7#FFFFFF#000000##000000
##BB9DF71.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ACFA
Deuteranopia (green-blind)
#8CACF5
Tritanopia (blue-blind)
#B0ACBF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9df7;
/* rgb */ color: rgb(187, 157, 247);
/* oklch */ color: oklch(75.7% 0.130 298.6);
Tailwind
colors: {
  custom: {
    50: '#d1bafa',
    500: '#bb9df7',
    950: '#000000',
  },
}
SCSS
$custom: #bb9df7;
$custom-light: #d1bafa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9df7",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 247
  },
  "hsl": {
    "h": 260,
    "s": 84.906,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75681,
    "c": 0.12966,
    "h": 298.6
  },
  "luminance": 0.41394
}

Semantic roles & 50–950 ramp

primary
#BB9DF7
secondary
#EBF5D6
accent
#E10498
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #BB9DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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