#BB97E9#BB97E9

#BB97E9 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.0% C 0.121 H 303.8°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#BB97E9
RGBrgb(187, 151, 233)
HSLhsl(266, 65%, 75%)
HSVhsv(266, 35%, 91%)
CMYKcmyk(19.7%, 35.2%, 0%, 8.6%)
CIE-LABlab(68.45, 29.32, -36.43)
CIE-LCHlch(68.45, 46.76, 308.83°)
OKLaboklab(73.96% 0.0674 -0.1008)
OKLCHoklch(73.96% 0.121 303.8)
XYZxyz(46.2651, 38.5813, 82.0846)
Luminance0.3858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97E9 #C5E997
analogous
#979CE9 #BB97E9 #E497E9
triadic
#BB97E9 #E9BB97 #97E9BB
tetradic
#BB97E9 #E9979C #C5E997 #97E9E4
square
#BB97E9 #E9979C #C5E997 #97E9E4
split-complementary
#BB97E9 #E9E497 #9CE997
monochromatic
#7932D4 #9A64DE #BB97E9 #DCCAF4 #EEE6FA

Accessibility & contrast

On white

2.41
#BB97E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#BB97E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97E9
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97E9#FFFFFF#000000##000000
##BB97E91.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A6EC
Deuteranopia (green-blind)
#8CA7E7
Tritanopia (blue-blind)
#B4A4B5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bb97e9;
/* rgb */ color: rgb(187, 151, 233);
/* oklch */ color: oklch(74.0% 0.121 303.8);
Tailwind
colors: {
  custom: {
    50: '#d0b6f0',
    500: '#bb97e9',
    950: '#000000',
  },
}
SCSS
$custom: #bb97e9;
$custom-light: #d0b6f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97e9",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 233
  },
  "hsl": {
    "h": 266.341,
    "s": 65.079,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7396,
    "c": 0.12123,
    "h": 303.8
  },
  "luminance": 0.38581
}

Semantic roles & 50–950 ramp

primary
#BB97E9
secondary
#E7F1DA
accent
#CD197E
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB97E9

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

Preview Lab → · Contrast checker → · Palette generator →

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