#BB97E4#BB97E4

#BB97E4 is a light, moderate violet. Relative luminance 0.383; OKLCH L 73.7% C 0.115 H 305.2°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#BB97E4
RGBrgb(187, 151, 228)
HSLhsl(268, 59%, 74%)
HSVhsv(268, 34%, 89%)
CMYKcmyk(18%, 33.8%, 0%, 10.6%)
CIE-LABlab(68.24, 28.20, -34.00)
CIE-LCHlch(68.24, 44.17, 309.68°)
OKLaboklab(73.74% 0.0662 -0.0938)
OKLCHoklch(73.74% 0.115 305.2)
XYZxyz(45.5609, 38.2997, 78.3761)
Luminance0.3830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97E4 #C0E497
analogous
#979AE4 #BB97E4 #E297E4
triadic
#BB97E4 #E4BB97 #97E4BB
tetradic
#BB97E4 #E4979A #C0E497 #97E4E2
square
#BB97E4 #E4979A #C0E497 #97E4E2
split-complementary
#BB97E4 #E4E297 #9AE497
monochromatic
#7B36CB #9B66D7 #BB97E4 #DBC8F1 #EFE7F9

Accessibility & contrast

On white

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

On black

8.66
#BB97E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97E4
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97E4#FFFFFF#000000##000000
##BB97E41.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A5E7
Deuteranopia (green-blind)
#8EA7E2
Tritanopia (blue-blind)
#B5A2B3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bb97e4;
/* rgb */ color: rgb(187, 151, 228);
/* oklch */ color: oklch(73.7% 0.115 305.2);
Tailwind
colors: {
  custom: {
    50: '#d0b6ec',
    500: '#bb97e4',
    950: '#000000',
  },
}
SCSS
$custom: #bb97e4;
$custom-light: #d0b6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97e4",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 228
  },
  "hsl": {
    "h": 268.052,
    "s": 58.779,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73736,
    "c": 0.11483,
    "h": 305.2
  },
  "luminance": 0.38299
}

Semantic roles & 50–950 ramp

primary
#BB97E4
secondary
#E6F0DB
accent
#C61F78
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB97E4

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

Preview Lab → · Contrast checker → · Palette generator →

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