#BB9DD2#BB9DD2

#BB9DD2 is a light, moderate violet. Relative luminance 0.393; OKLCH L 74.1% C 0.082 H 310.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#BB9DD2
RGBrgb(187, 157, 210)
HSLhsl(274, 37%, 72%)
HSVhsv(274, 25%, 82%)
CMYKcmyk(11%, 25.2%, 0%, 17.6%)
CIE-LABlab(68.99, 20.98, -22.92)
CIE-LCHlch(68.99, 31.07, 312.47°)
OKLaboklab(74.08% 0.0526 -0.0624)
OKLCHoklch(74.08% 0.082 310.1)
XYZxyz(44.1813, 39.3323, 66.2247)
Luminance0.3933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9DD2 #B4D29D
analogous
#A19DD2 #BB9DD2 #D29DCF
triadic
#BB9DD2 #D2BB9D #9DD2BB
tetradic
#BB9DD2 #D2A19D #B4D29D #9DCFD2
square
#BB9DD2 #D2A19D #B4D29D #9DCFD2
split-complementary
#BB9DD2 #CFD29D #9DD2A1
monochromatic
#804DA8 #9E73BF #BB9DD2 #D8C7E5 #F0EAF5

Accessibility & contrast

On white

2.37
#BB9DD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#BB9DD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9DD2
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9DD2#FFFFFF#000000##000000
##BB9DD21.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A7D4
Deuteranopia (green-blind)
#9BA9D0
Tritanopia (blue-blind)
#B9A4AF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb9dd2;
/* rgb */ color: rgb(187, 157, 210);
/* oklch */ color: oklch(74.1% 0.082 310.1);
Tailwind
colors: {
  custom: {
    50: '#d0bae0',
    500: '#bb9dd2',
    950: '#000000',
  },
}
SCSS
$custom: #bb9dd2;
$custom-light: #d0bae0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9dd2",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 210
  },
  "hsl": {
    "h": 273.962,
    "s": 37.063,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74083,
    "c": 0.08162,
    "h": 310.1
  },
  "luminance": 0.39332
}

Semantic roles & 50–950 ramp

primary
#BB9DD2
secondary
#E5ECDF
accent
#B0366B
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB9DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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