#BB97D6#BB97D6

#BB97D6 is a light, moderate violet. Relative luminance 0.376; OKLCH L 73.1% C 0.097 H 310.1°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#BB97D6
RGBrgb(187, 151, 214)
HSLhsl(274, 43%, 72%)
HSVhsv(274, 29%, 84%)
CMYKcmyk(12.6%, 29.4%, 0%, 16.1%)
CIE-LABlab(67.69, 25.16, -27.12)
CIE-LCHlch(67.69, 37.00, 312.85°)
OKLaboklab(73.13% 0.0626 -0.0743)
OKLCHoklch(73.13% 0.097 310.1)
XYZxyz(43.6956, 37.5535, 68.5519)
Luminance0.3755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97D6 #B2D697
analogous
#9C97D6 #BB97D6 #D697D2
triadic
#BB97D6 #D6BB97 #97D6BB
tetradic
#BB97D6 #D69C97 #B2D697 #97D2D6
square
#BB97D6 #D69C97 #B2D697 #97D2D6
split-complementary
#BB97D6 #D2D697 #97D69C
monochromatic
#8145AE #9E6BC5 #BB97D6 #D8C3E7 #F1E9F6

Accessibility & contrast

On white

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

On black

8.51
#BB97D6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97D6
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97D6#FFFFFF#000000##000000
##BB97D61.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA3D9
Deuteranopia (green-blind)
#94A6D4
Tritanopia (blue-blind)
#B89FAE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bb97d6;
/* rgb */ color: rgb(187, 151, 214);
/* oklch */ color: oklch(73.1% 0.097 310.1);
Tailwind
colors: {
  custom: {
    50: '#d0b6e2',
    500: '#bb97d6',
    950: '#000000',
  },
}
SCSS
$custom: #bb97d6;
$custom-light: #d0b6e2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97d6",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 214
  },
  "hsl": {
    "h": 274.286,
    "s": 43.448,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73134,
    "c": 0.09712,
    "h": 310.1
  },
  "luminance": 0.37553
}

Semantic roles & 50–950 ramp

primary
#BB97D6
secondary
#E3ECDC
accent
#B72F69
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB97D6

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

Preview Lab → · Contrast checker → · Palette generator →

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