#BB97D2#BB97D2

#BB97D2 is a light, moderate violet. Relative luminance 0.374; OKLCH L 73.0% C 0.092 H 311.8°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#BB97D2
RGBrgb(187, 151, 210)
HSLhsl(277, 40%, 71%)
HSVhsv(277, 28%, 82%)
CMYKcmyk(11%, 28.1%, 0%, 17.6%)
CIE-LABlab(67.54, 24.32, -25.14)
CIE-LCHlch(67.54, 34.97, 314.05°)
OKLaboklab(72.97% 0.0615 -0.0686)
OKLCHoklch(72.97% 0.092 311.8)
XYZxyz(43.1910, 37.3517, 65.8946)
Luminance0.3735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97D2 #AED297
analogous
#9D97D2 #BB97D2 #D297CB
triadic
#BB97D2 #D2BB97 #97D2BB
tetradic
#BB97D2 #D29D97 #AED297 #97CBD2
square
#BB97D2 #D29D97 #AED297 #97CBD2
split-complementary
#BB97D2 #CBD297 #97D29D
monochromatic
#8248A7 #9F6CC0 #BB97D2 #D7C2E4 #F1EAF6

Accessibility & contrast

On white

2.48
#BB97D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#BB97D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97D2
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97D2#FFFFFF#000000##000000
##BB97D21.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA3D4
Deuteranopia (green-blind)
#95A5D0
Tritanopia (blue-blind)
#B99EAC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bb97d2;
/* rgb */ color: rgb(187, 151, 210);
/* oklch */ color: oklch(73.0% 0.092 311.8);
Tailwind
colors: {
  custom: {
    50: '#d0b6e0',
    500: '#bb97d2',
    950: '#000000',
  },
}
SCSS
$custom: #bb97d2;
$custom-light: #d0b6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97d2",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 210
  },
  "hsl": {
    "h": 276.61,
    "s": 39.597,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72969,
    "c": 0.09215,
    "h": 311.8
  },
  "luminance": 0.37351
}

Semantic roles & 50–950 ramp

primary
#BB97D2
secondary
#E1EADA
accent
#B33365
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB97D2

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

Preview Lab → · Contrast checker → · Palette generator →

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