#BB9DF2#BB9DF2

#BB9DF2 is a light, vivid violet. Relative luminance 0.411; OKLCH L 75.4% C 0.123 H 299.7°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#BB9DF2
RGBrgb(187, 157, 242)
HSLhsl(261, 77%, 78%)
HSVhsv(261, 35%, 95%)
CMYKcmyk(22.7%, 35.1%, 0%, 5.1%)
CIE-LABlab(70.24, 28.04, -38.56)
CIE-LCHlch(70.24, 47.68, 306.02°)
OKLaboklab(75.45% 0.061 -0.1069)
OKLCHoklch(75.45% 0.123 299.7)
XYZxyz(48.5739, 41.0893, 89.3592)
Luminance0.4109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9DF2 #D4F29D
analogous
#9DA9F2 #BB9DF2 #E59DF2
triadic
#BB9DF2 #F2BB9D #9DF2BB
tetradic
#BB9DF2 #F29DA9 #D4F29D #9DF2E5
square
#BB9DF2 #F29DA9 #D4F29D #9DF2E5
split-complementary
#BB9DF2 #F2E59D #A9F29D
monochromatic
#7031E4 #9667EB #BB9DF2 #E0D3F9 #ECE4FB

Accessibility & contrast

On white

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

On black

9.22
#BB9DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9DF2
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9DF2#FFFFFF#000000##000000
##BB9DF21.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb9df2;
/* rgb */ color: rgb(187, 157, 242);
/* oklch */ color: oklch(75.4% 0.123 299.7);
Tailwind
colors: {
  custom: {
    50: '#d1baf6',
    500: '#bb9df2',
    950: '#000000',
  },
}
SCSS
$custom: #bb9df2;
$custom-light: #d1baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9df2",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 261.176,
    "s": 76.577,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75449,
    "c": 0.12311,
    "h": 299.7
  },
  "luminance": 0.4109
}

Semantic roles & 50–950 ramp

primary
#BB9DF2
secondary
#EAF3D8
accent
#D90D91
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085

Preview Lab

Preview with #BB9DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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