#BB97DE#BB97DE

#BB97DE is a light, moderate violet. Relative luminance 0.380; OKLCH L 73.5% C 0.107 H 307.1°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#BB97DE
RGBrgb(187, 151, 222)
HSLhsl(270, 52%, 73%)
HSVhsv(270, 32%, 87%)
CMYKcmyk(15.8%, 32%, 0%, 12.9%)
CIE-LABlab(68.00, 26.88, -31.07)
CIE-LCHlch(68.00, 41.08, 310.87°)
OKLaboklab(73.47% 0.0647 -0.0855)
OKLCHoklch(73.47% 0.107 307.1)
XYZxyz(44.7424, 37.9723, 74.0654)
Luminance0.3797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97DE #BADE97
analogous
#9797DE #BB97DE #DE97DD
triadic
#BB97DE #DEBB97 #97DEBB
tetradic
#BB97DE #DE9797 #BADE97 #97DDDE
square
#BB97DE #DE9797 #BADE97 #97DDDE
split-complementary
#BB97DE #DDDE97 #97DE97
monochromatic
#7E3CBE #9D69CF #BB97DE #D9C5ED #F0E8F8

Accessibility & contrast

On white

2.44
#BB97DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#BB97DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97DE
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97DE#FFFFFF#000000##000000
##BB97DE1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A4E1
Deuteranopia (green-blind)
#91A6DC
Tritanopia (blue-blind)
#B6A1B1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bb97de;
/* rgb */ color: rgb(187, 151, 222);
/* oklch */ color: oklch(73.5% 0.107 307.1);
Tailwind
colors: {
  custom: {
    50: '#d0b6e8',
    500: '#bb97de',
    950: '#000000',
  },
}
SCSS
$custom: #bb97de;
$custom-light: #d0b6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97de",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 222
  },
  "hsl": {
    "h": 270.423,
    "s": 51.825,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73473,
    "c": 0.10719,
    "h": 307.1
  },
  "luminance": 0.37972
}

Semantic roles & 50–950 ramp

primary
#BB97DE
secondary
#E5EFDC
accent
#BF2672
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB97DE

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

Preview Lab → · Contrast checker → · Palette generator →

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