#BB97D4#BB97D4

#BB97D4 is a light, moderate violet. Relative luminance 0.375; OKLCH L 73.1% C 0.095 H 311.0°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#BB97D4
RGBrgb(187, 151, 212)
HSLhsl(275, 41%, 71%)
HSVhsv(275, 29%, 83%)
CMYKcmyk(11.8%, 28.8%, 0%, 16.9%)
CIE-LABlab(67.61, 24.74, -26.13)
CIE-LCHlch(67.61, 35.98, 313.43°)
OKLaboklab(73.05% 0.062 -0.0714)
OKLCHoklch(73.05% 0.095 311)
XYZxyz(43.4417, 37.4520, 67.2150)
Luminance0.3745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97D4 #B0D497
analogous
#9C97D4 #BB97D4 #D497CE
triadic
#BB97D4 #D4BB97 #97D4BB
tetradic
#BB97D4 #D49C97 #B0D497 #97CED4
square
#BB97D4 #D49C97 #B0D497 #97CED4
split-complementary
#BB97D4 #CED497 #97D49C
monochromatic
#8146AA #9F6CC2 #BB97D4 #D7C2E6 #F1E9F6

Accessibility & contrast

On white

2.47
#BB97D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#BB97D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97D4
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97D4#FFFFFF#000000##000000
##BB97D41.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA3D6
Deuteranopia (green-blind)
#95A5D2
Tritanopia (blue-blind)
#B99FAD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bb97d4;
/* rgb */ color: rgb(187, 151, 212);
/* oklch */ color: oklch(73.1% 0.095 311.0);
Tailwind
colors: {
  custom: {
    50: '#d0b6e1',
    500: '#bb97d4',
    950: '#000000',
  },
}
SCSS
$custom: #bb97d4;
$custom-light: #d0b6e1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97d4",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 212
  },
  "hsl": {
    "h": 275.41,
    "s": 41.497,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73051,
    "c": 0.09463,
    "h": 311
  },
  "luminance": 0.37451
}

Semantic roles & 50–950 ramp

primary
#BB97D4
secondary
#E2EBDB
accent
#B53167
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB97D4

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

Preview Lab → · Contrast checker → · Palette generator →

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