#BB97E5#BB97E5

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

Color values

HEX#BB97E5
RGBrgb(187, 151, 229)
HSLhsl(268, 60%, 75%)
HSVhsv(268, 34%, 90%)
CMYKcmyk(18.3%, 34.1%, 0%, 10.2%)
CIE-LABlab(68.28, 28.43, -34.49)
CIE-LCHlch(68.28, 44.69, 309.50°)
OKLaboklab(73.78% 0.0664 -0.0952)
OKLCHoklch(73.78% 0.116 304.9)
XYZxyz(45.7001, 38.3553, 79.1093)
Luminance0.3836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97E5 #C1E597
analogous
#979AE5 #BB97E5 #E297E5
triadic
#BB97E5 #E5BB97 #97E5BB
tetradic
#BB97E5 #E5979A #C1E597 #97E5E2
square
#BB97E5 #E5979A #C1E597 #97E5E2
split-complementary
#BB97E5 #E5E297 #9AE597
monochromatic
#7B35CD #9B66D9 #BB97E5 #DBC8F1 #EFE7F9

Accessibility & contrast

On white

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

On black

8.67
#BB97E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97E5
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97E5#FFFFFF#000000##000000
##BB97E51.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A5E8
Deuteranopia (green-blind)
#8EA7E3
Tritanopia (blue-blind)
#B5A3B4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bb97e5;
/* rgb */ color: rgb(187, 151, 229);
/* oklch */ color: oklch(73.8% 0.116 304.9);
Tailwind
colors: {
  custom: {
    50: '#d0b6ed',
    500: '#bb97e5',
    950: '#000000',
  },
}
SCSS
$custom: #bb97e5;
$custom-light: #d0b6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97e5",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 229
  },
  "hsl": {
    "h": 267.692,
    "s": 60,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7378,
    "c": 0.1161,
    "h": 304.9
  },
  "luminance": 0.38355
}

Semantic roles & 50–950 ramp

primary
#BB97E5
secondary
#E6F0DB
accent
#C81E79
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB97E5

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

Preview Lab → · Contrast checker → · Palette generator →

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