#BB97CE#BB97CE

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

Color values

HEX#BB97CE
RGBrgb(187, 151, 206)
HSLhsl(279, 36%, 70%)
HSVhsv(279, 27%, 81%)
CMYKcmyk(9.2%, 26.7%, 0%, 19.2%)
CIE-LABlab(67.39, 23.49, -23.14)
CIE-LCHlch(67.39, 32.97, 315.42°)
OKLaboklab(72.81% 0.0603 -0.063)
OKLCHoklch(72.81% 0.087 313.7)
XYZxyz(42.6989, 37.1548, 63.3028)
Luminance0.3715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97CE #AACE97
analogous
#A097CE #BB97CE #CE97C5
triadic
#BB97CE #CEBB97 #97CEBB
tetradic
#BB97CE #CEA097 #AACE97 #97C5CE
square
#BB97CE #CEA097 #AACE97 #97C5CE
split-complementary
#BB97CE #C5CE97 #97CEA0
monochromatic
#824B9F #A06DBA #BB97CE #D6C1E2 #F1EAF5

Accessibility & contrast

On white

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

On black

8.43
#BB97CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97CE
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97CE#FFFFFF#000000##000000
##BB97CE1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA2D0
Deuteranopia (green-blind)
#97A5CC
Tritanopia (blue-blind)
#BA9EAA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bb97ce;
/* rgb */ color: rgb(187, 151, 206);
/* oklch */ color: oklch(72.8% 0.087 313.7);
Tailwind
colors: {
  custom: {
    50: '#d0b6dd',
    500: '#bb97ce',
    950: '#000000',
  },
}
SCSS
$custom: #bb97ce;
$custom-light: #d0b6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97ce",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 206
  },
  "hsl": {
    "h": 279.273,
    "s": 35.948,
    "l": 70
  },
  "oklch": {
    "l": 0.72808,
    "c": 0.08724,
    "h": 313.7
  },
  "luminance": 0.37154
}

Semantic roles & 50–950 ramp

primary
#BB97CE
secondary
#DEE8D9
accent
#AF3760
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB97CE

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

Preview Lab → · Contrast checker → · Palette generator →

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