#BB9DF3#BB9DF3

#BB9DF3 is a light, vivid violet. Relative luminance 0.411; OKLCH L 75.5% C 0.124 H 299.5°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#BB9DF3
RGBrgb(187, 157, 243)
HSLhsl(261, 78%, 78%)
HSVhsv(261, 35%, 95%)
CMYKcmyk(23%, 35.4%, 0%, 4.7%)
CIE-LABlab(70.28, 28.27, -39.04)
CIE-LCHlch(70.28, 48.20, 305.90°)
OKLaboklab(75.5% 0.0612 -0.1083)
OKLCHoklch(75.5% 0.124 299.5)
XYZxyz(48.7245, 41.1496, 90.1523)
Luminance0.4115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9DF3 #D5F39D
analogous
#9DAAF3 #BB9DF3 #E69DF3
triadic
#BB9DF3 #F3BB9D #9DF3BB
tetradic
#BB9DF3 #F39DAA #D5F39D #9DF3E6
square
#BB9DF3 #F39DAA #D5F39D #9DF3E6
split-complementary
#BB9DF3 #F3E69D #AAF39D
monochromatic
#6F30E6 #9566EC #BB9DF3 #E1D4FA #ECE4FC

Accessibility & contrast

On white

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

On black

9.23
#BB9DF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9DF3
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9DF3#FFFFFF#000000##000000
##BB9DF31.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ACF6
Deuteranopia (green-blind)
#8DABF1
Tritanopia (blue-blind)
#B1ABBD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9df3;
/* rgb */ color: rgb(187, 157, 243);
/* oklch */ color: oklch(75.5% 0.124 299.5);
Tailwind
colors: {
  custom: {
    50: '#d1baf7',
    500: '#bb9df3',
    950: '#000000',
  },
}
SCSS
$custom: #bb9df3;
$custom-light: #d1baf7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9df3",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 243
  },
  "hsl": {
    "h": 260.93,
    "s": 78.182,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75495,
    "c": 0.12442,
    "h": 299.5
  },
  "luminance": 0.4115
}

Semantic roles & 50–950 ramp

primary
#BB9DF3
secondary
#EAF3D8
accent
#DA0B92
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #BB9DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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