#BB97D8#BB97D8

#BB97D8 is a light, moderate violet. Relative luminance 0.377; OKLCH L 73.2% C 0.100 H 309.3°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#BB97D8
RGBrgb(187, 151, 216)
HSLhsl(273, 45%, 72%)
HSVhsv(273, 30%, 85%)
CMYKcmyk(13.4%, 30.1%, 0%, 15.3%)
CIE-LABlab(67.77, 25.59, -28.11)
CIE-LCHlch(67.77, 38.01, 312.31°)
OKLaboklab(73.22% 0.0631 -0.0771)
OKLCHoklch(73.22% 0.1 309.3)
XYZxyz(43.9526, 37.6563, 69.9054)
Luminance0.3766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97D8 #B4D897
analogous
#9B97D8 #BB97D8 #D897D5
triadic
#BB97D8 #D8BB97 #97D8BB
tetradic
#BB97D8 #D89B97 #B4D897 #97D5D8
square
#BB97D8 #D89B97 #B4D897 #97D5D8
split-complementary
#BB97D8 #D5D897 #97D89B
monochromatic
#8043B2 #9E6AC7 #BB97D8 #D8C4E9 #F0E9F7

Accessibility & contrast

On white

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

On black

8.53
#BB97D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97D8
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97D8#FFFFFF#000000##000000
##BB97D81.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA3DB
Deuteranopia (green-blind)
#93A6D6
Tritanopia (blue-blind)
#B8A0AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bb97d8;
/* rgb */ color: rgb(187, 151, 216);
/* oklch */ color: oklch(73.2% 0.100 309.3);
Tailwind
colors: {
  custom: {
    50: '#d0b6e4',
    500: '#bb97d8',
    950: '#000000',
  },
}
SCSS
$custom: #bb97d8;
$custom-light: #d0b6e4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97d8",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 216
  },
  "hsl": {
    "h": 273.231,
    "s": 45.455,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73217,
    "c": 0.09962,
    "h": 309.3
  },
  "luminance": 0.37656
}

Semantic roles & 50–950 ramp

primary
#BB97D8
secondary
#E5EEDD
accent
#B92D6B
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB97D8

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

Preview Lab → · Contrast checker → · Palette generator →

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