#BB9CD7#BB9CD7

#BB9CD7 is a light, moderate violet. Relative luminance 0.392; OKLCH L 74.1% C 0.090 H 308.2°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#BB9CD7
RGBrgb(187, 156, 215)
HSLhsl(272, 42%, 73%)
HSVhsv(272, 27%, 84%)
CMYKcmyk(13%, 27.4%, 0%, 15.7%)
CIE-LABlab(68.93, 22.59, -25.77)
CIE-LCHlch(68.93, 34.27, 311.24°)
OKLaboklab(74.1% 0.0555 -0.0705)
OKLCHoklch(74.1% 0.09 308.2)
XYZxyz(44.6455, 39.2484, 69.5005)
Luminance0.3925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9CD7 #B8D79C
analogous
#9D9CD7 #BB9CD7 #D79CD6
triadic
#BB9CD7 #D7BB9C #9CD7BB
tetradic
#BB9CD7 #D79D9C #B8D79C #9CD6D7
square
#BB9CD7 #D79D9C #B8D79C #9CD6D7
split-complementary
#BB9CD7 #D6D79C #9CD79D
monochromatic
#7F48B1 #9D70C5 #BB9CD7 #D9C8E9 #F0E9F6

Accessibility & contrast

On white

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

On black

8.85
#BB9CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9CD7
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9CD7#FFFFFF#000000##000000
##BB9CD71.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A7D9
Deuteranopia (green-blind)
#98A9D5
Tritanopia (blue-blind)
#B8A4B1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb9cd7;
/* rgb */ color: rgb(187, 156, 215);
/* oklch */ color: oklch(74.1% 0.090 308.2);
Tailwind
colors: {
  custom: {
    50: '#d0b9e3',
    500: '#bb9cd7',
    950: '#000000',
  },
}
SCSS
$custom: #bb9cd7;
$custom-light: #d0b9e3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9cd7",
  "rgb": {
    "r": 187,
    "g": 156,
    "b": 215
  },
  "hsl": {
    "h": 271.525,
    "s": 42.446,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74097,
    "c": 0.08971,
    "h": 308.2
  },
  "luminance": 0.39248
}

Semantic roles & 50–950 ramp

primary
#BB9CD7
secondary
#E5EDDE
accent
#B6306F
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB9CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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