#BB97CF#BB97CF

#BB97CF is a light, moderate violet. Relative luminance 0.372; OKLCH L 72.8% C 0.088 H 313.2°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#BB97CF
RGBrgb(187, 151, 207)
HSLhsl(279, 37%, 70%)
HSVhsv(279, 27%, 81%)
CMYKcmyk(9.7%, 27.1%, 0%, 18.8%)
CIE-LABlab(67.43, 23.69, -23.64)
CIE-LCHlch(67.43, 33.47, 315.06°)
OKLaboklab(72.85% 0.0606 -0.0644)
OKLCHoklch(72.85% 0.088 313.2)
XYZxyz(42.8208, 37.2036, 63.9446)
Luminance0.3720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97CF #ABCF97
analogous
#9F97CF #BB97CF #CF97C7
triadic
#BB97CF #CFBB97 #97CFBB
tetradic
#BB97CF #CF9F97 #ABCF97 #97C7CF
square
#BB97CF #CF9F97 #ABCF97 #97C7CF
split-complementary
#BB97CF #C7CF97 #97CF9F
monochromatic
#824AA1 #A06DBC #BB97CF #D6C1E2 #F1EAF5

Accessibility & contrast

On white

2.49
#BB97CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#BB97CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97CF
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97CF#FFFFFF#000000##000000
##BB97CF1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA2D1
Deuteranopia (green-blind)
#96A5CD
Tritanopia (blue-blind)
#BA9EAB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bb97cf;
/* rgb */ color: rgb(187, 151, 207);
/* oklch */ color: oklch(72.8% 0.088 313.2);
Tailwind
colors: {
  custom: {
    50: '#d0b6dd',
    500: '#bb97cf',
    950: '#000000',
  },
}
SCSS
$custom: #bb97cf;
$custom-light: #d0b6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97cf",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 278.571,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72848,
    "c": 0.08847,
    "h": 313.2
  },
  "luminance": 0.37203
}

Semantic roles & 50–950 ramp

primary
#BB97CF
secondary
#DFE9D9
accent
#B03661
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB97CF

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

Preview Lab → · Contrast checker → · Palette generator →

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