#BB97DC#BB97DC

#BB97DC is a light, moderate violet. Relative luminance 0.379; OKLCH L 73.4% C 0.105 H 307.8°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#BB97DC
RGBrgb(187, 151, 220)
HSLhsl(271, 50%, 73%)
HSVhsv(271, 31%, 86%)
CMYKcmyk(15%, 31.4%, 0%, 13.7%)
CIE-LABlab(67.92, 26.45, -30.08)
CIE-LCHlch(67.92, 40.06, 311.32°)
OKLaboklab(73.39% 0.0642 -0.0827)
OKLCHoklch(73.39% 0.105 307.8)
XYZxyz(44.4760, 37.8657, 72.6620)
Luminance0.3786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97DC #B8DC97
analogous
#9897DC #BB97DC #DC97DB
triadic
#BB97DC #DCBB97 #97DCBB
tetradic
#BB97DC #DC9897 #B8DC97 #97DBDC
square
#BB97DC #DC9897 #B8DC97 #97DBDC
split-complementary
#BB97DC #DBDC97 #97DC98
monochromatic
#7F3FBA #9D69CD #BB97DC #D9C5EB #F0E8F7

Accessibility & contrast

On white

2.45
#BB97DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#BB97DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97DC
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97DC#FFFFFF#000000##000000
##BB97DC1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA4DF
Deuteranopia (green-blind)
#92A6DA
Tritanopia (blue-blind)
#B7A1B0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bb97dc;
/* rgb */ color: rgb(187, 151, 220);
/* oklch */ color: oklch(73.4% 0.105 307.8);
Tailwind
colors: {
  custom: {
    50: '#d0b6e7',
    500: '#bb97dc',
    950: '#000000',
  },
}
SCSS
$custom: #bb97dc;
$custom-light: #d0b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97dc",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 271.304,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73387,
    "c": 0.10466,
    "h": 307.8
  },
  "luminance": 0.37865
}

Semantic roles & 50–950 ramp

primary
#BB97DC
secondary
#E5EEDD
accent
#BD2970
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB97DC

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

Preview Lab → · Contrast checker → · Palette generator →

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