#BB97E7#BB97E7

#BB97E7 is a light, moderate violet. Relative luminance 0.385; OKLCH L 73.9% C 0.119 H 304.3°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#BB97E7
RGBrgb(187, 151, 231)
HSLhsl(267, 63%, 75%)
HSVhsv(267, 35%, 91%)
CMYKcmyk(19%, 34.6%, 0%, 9.4%)
CIE-LABlab(68.36, 28.87, -35.46)
CIE-LCHlch(68.36, 45.73, 309.16°)
OKLaboklab(73.87% 0.0669 -0.098)
OKLCHoklch(73.87% 0.119 304.3)
XYZxyz(45.9810, 38.4677, 80.5884)
Luminance0.3847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97E7 #C3E797
analogous
#979BE7 #BB97E7 #E397E7
triadic
#BB97E7 #E7BB97 #97E7BB
tetradic
#BB97E7 #E7979B #C3E797 #97E7E3
square
#BB97E7 #E7979B #C3E797 #97E7E3
split-complementary
#BB97E7 #E7E397 #9BE797
monochromatic
#7A34D0 #9A65DC #BB97E7 #DCC9F2 #EFE6F9

Accessibility & contrast

On white

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

On black

8.69
#BB97E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97E7
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97E7#FFFFFF#000000##000000
##BB97E71.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb97e7;
/* rgb */ color: rgb(187, 151, 231);
/* oklch */ color: oklch(73.9% 0.119 304.3);
Tailwind
colors: {
  custom: {
    50: '#d0b6ef',
    500: '#bb97e7',
    950: '#000000',
  },
}
SCSS
$custom: #bb97e7;
$custom-light: #d0b6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97e7",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 231
  },
  "hsl": {
    "h": 267,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7387,
    "c": 0.11867,
    "h": 304.3
  },
  "luminance": 0.38468
}

Semantic roles & 50–950 ramp

primary
#BB97E7
secondary
#E7F1DA
accent
#CA1B7B
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB97E7

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

Preview Lab → · Contrast checker → · Palette generator →

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