#BB97D7#BB97D7

#BB97D7 is a light, moderate violet. Relative luminance 0.376; OKLCH L 73.2% C 0.098 H 309.7°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#BB97D7
RGBrgb(187, 151, 215)
HSLhsl(274, 44%, 72%)
HSVhsv(274, 30%, 84%)
CMYKcmyk(13%, 29.8%, 0%, 15.7%)
CIE-LABlab(67.73, 25.37, -27.62)
CIE-LCHlch(67.73, 37.50, 312.58°)
OKLaboklab(73.18% 0.0629 -0.0757)
OKLCHoklch(73.18% 0.098 309.7)
XYZxyz(43.8237, 37.6048, 69.2266)
Luminance0.3760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97D7 #B3D797
analogous
#9B97D7 #BB97D7 #D797D3
triadic
#BB97D7 #D7BB97 #97D7BB
tetradic
#BB97D7 #D79B97 #B3D797 #97D3D7
square
#BB97D7 #D79B97 #B3D797 #97D3D7
split-complementary
#BB97D7 #D3D797 #97D79B
monochromatic
#8144B0 #9E6BC6 #BB97D7 #D8C3E8 #F1E9F6

Accessibility & contrast

On white

2.46
#BB97D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#BB97D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97D7
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97D7#FFFFFF#000000##000000
##BB97D71.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA3DA
Deuteranopia (green-blind)
#94A6D5
Tritanopia (blue-blind)
#B8A0AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bb97d7;
/* rgb */ color: rgb(187, 151, 215);
/* oklch */ color: oklch(73.2% 0.098 309.7);
Tailwind
colors: {
  custom: {
    50: '#d0b6e3',
    500: '#bb97d7',
    950: '#000000',
  },
}
SCSS
$custom: #bb97d7;
$custom-light: #d0b6e3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97d7",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 215
  },
  "hsl": {
    "h": 273.75,
    "s": 44.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73175,
    "c": 0.09837,
    "h": 309.7
  },
  "luminance": 0.37604
}

Semantic roles & 50–950 ramp

primary
#BB97D7
secondary
#E4EDDD
accent
#B82E6A
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB97D7

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

Preview Lab → · Contrast checker → · Palette generator →

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