#BB97D3#BB97D3

#BB97D3 is a light, moderate violet. Relative luminance 0.374; OKLCH L 73.0% C 0.093 H 311.4°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#BB97D3
RGBrgb(187, 151, 211)
HSLhsl(276, 41%, 71%)
HSVhsv(276, 28%, 83%)
CMYKcmyk(11.4%, 28.4%, 0%, 17.3%)
CIE-LABlab(67.58, 24.53, -25.63)
CIE-LCHlch(67.58, 35.48, 313.74°)
OKLaboklab(73.01% 0.0618 -0.07)
OKLCHoklch(73.01% 0.093 311.4)
XYZxyz(43.3160, 37.4017, 66.5527)
Luminance0.3740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97D3 #AFD397
analogous
#9D97D3 #BB97D3 #D397CD
triadic
#BB97D3 #D3BB97 #97D3BB
tetradic
#BB97D3 #D39D97 #AFD397 #97CDD3
square
#BB97D3 #D39D97 #AFD397 #97CDD3
split-complementary
#BB97D3 #CDD397 #97D39D
monochromatic
#8247A8 #9F6CC1 #BB97D3 #D7C2E5 #F1E9F6

Accessibility & contrast

On white

2.48
#BB97D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#BB97D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97D3
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97D3#FFFFFF#000000##000000
##BB97D31.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA3D5
Deuteranopia (green-blind)
#95A5D1
Tritanopia (blue-blind)
#B99FAC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bb97d3;
/* rgb */ color: rgb(187, 151, 211);
/* oklch */ color: oklch(73.0% 0.093 311.4);
Tailwind
colors: {
  custom: {
    50: '#d0b6e0',
    500: '#bb97d3',
    950: '#000000',
  },
}
SCSS
$custom: #bb97d3;
$custom-light: #d0b6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97d3",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 211
  },
  "hsl": {
    "h": 276,
    "s": 40.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7301,
    "c": 0.09339,
    "h": 311.4
  },
  "luminance": 0.37401
}

Semantic roles & 50–950 ramp

primary
#BB97D3
secondary
#E1EBDB
accent
#B43266
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB97D3

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

Preview Lab → · Contrast checker → · Palette generator →

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