#BB9DCC#BB9DCC

#BB9DCC is a light, moderate violet. Relative luminance 0.390; OKLCH L 73.9% C 0.074 H 313.2°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#BB9DCC
RGBrgb(187, 157, 204)
HSLhsl(278, 32%, 71%)
HSVhsv(278, 23%, 80%)
CMYKcmyk(8.3%, 23%, 0%, 20%)
CIE-LABlab(68.78, 19.74, -19.92)
CIE-LCHlch(68.78, 28.04, 314.73°)
OKLaboklab(73.85% 0.0507 -0.054)
OKLCHoklch(73.85% 0.074 313.2)
XYZxyz(43.4478, 39.0389, 62.3614)
Luminance0.3904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9DCC #AECC9D
analogous
#A39DCC #BB9DCC #CC9DC5
triadic
#BB9DCC #CCBB9D #9DCCBB
tetradic
#BB9DCC #CCA39D #AECC9D #9DC5CC
square
#BB9DCC #CCA39D #AECC9D #9DC5CC
split-complementary
#BB9DCC #C5CC9D #9DCCA3
monochromatic
#82529D #9F75B7 #BB9DCC #D7C5E1 #F1EBF5

Accessibility & contrast

On white

2.38
#BB9DCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#BB9DCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9DCC
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9DCC#FFFFFF#000000##000000
##BB9DCC1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A6CE
Deuteranopia (green-blind)
#9DA9CA
Tritanopia (blue-blind)
#BAA3AD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb9dcc;
/* rgb */ color: rgb(187, 157, 204);
/* oklch */ color: oklch(73.9% 0.074 313.2);
Tailwind
colors: {
  custom: {
    50: '#cfbadb',
    500: '#bb9dcc',
    950: '#000000',
  },
}
SCSS
$custom: #bb9dcc;
$custom-light: #cfbadb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9dcc",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 204
  },
  "hsl": {
    "h": 278.298,
    "s": 31.544,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7385,
    "c": 0.07413,
    "h": 313.2
  },
  "luminance": 0.39038
}

Semantic roles & 50–950 ramp

primary
#BB9DCC
secondary
#E1E9DC
accent
#AA3B63
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB9DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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