#BB97E6#BB97E6

#BB97E6 is a light, moderate violet. Relative luminance 0.384; OKLCH L 73.8% C 0.117 H 304.6°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#BB97E6
RGBrgb(187, 151, 230)
HSLhsl(267, 61%, 75%)
HSVhsv(267, 34%, 90%)
CMYKcmyk(18.7%, 34.3%, 0%, 9.8%)
CIE-LABlab(68.32, 28.65, -34.97)
CIE-LCHlch(68.32, 45.21, 309.32°)
OKLaboklab(73.83% 0.0667 -0.0966)
OKLCHoklch(73.83% 0.117 304.6)
XYZxyz(45.8402, 38.4113, 79.8468)
Luminance0.3841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97E6 #C2E697
analogous
#979BE6 #BB97E6 #E397E6
triadic
#BB97E6 #E6BB97 #97E6BB
tetradic
#BB97E6 #E6979B #C2E697 #97E6E3
square
#BB97E6 #E6979B #C2E697 #97E6E3
split-complementary
#BB97E6 #E6E397 #9BE697
monochromatic
#7A34CE #9B66DA #BB97E6 #DBC8F2 #EFE6F9

Accessibility & contrast

On white

2.42
#BB97E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#BB97E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97E6
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97E6#FFFFFF#000000##000000
##BB97E61.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A5E9
Deuteranopia (green-blind)
#8EA7E4
Tritanopia (blue-blind)
#B4A3B4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bb97e6;
/* rgb */ color: rgb(187, 151, 230);
/* oklch */ color: oklch(73.8% 0.117 304.6);
Tailwind
colors: {
  custom: {
    50: '#d0b6ee',
    500: '#bb97e6',
    950: '#000000',
  },
}
SCSS
$custom: #bb97e6;
$custom-light: #d0b6ee;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97e6",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 230
  },
  "hsl": {
    "h": 267.342,
    "s": 61.24,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73825,
    "c": 0.11738,
    "h": 304.6
  },
  "luminance": 0.38411
}

Semantic roles & 50–950 ramp

primary
#BB97E6
secondary
#E6F0DB
accent
#C91D7A
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB97E6

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

Preview Lab → · Contrast checker → · Palette generator →

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