#BB97E8#BB97E8

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

Color values

HEX#BB97E8
RGBrgb(187, 151, 232)
HSLhsl(267, 64%, 75%)
HSVhsv(267, 35%, 91%)
CMYKcmyk(19.4%, 34.9%, 0%, 9%)
CIE-LABlab(68.41, 29.10, -35.94)
CIE-LCHlch(68.41, 46.24, 308.99°)
OKLaboklab(73.91% 0.0671 -0.0994)
OKLCHoklch(73.91% 0.12 304)
XYZxyz(46.1226, 38.5243, 81.3344)
Luminance0.3852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97E8 #C4E897
analogous
#979BE8 #BB97E8 #E497E8
triadic
#BB97E8 #E8BB97 #97E8BB
tetradic
#BB97E8 #E8979B #C4E897 #97E8E4
square
#BB97E8 #E8979B #C4E897 #97E8E4
split-complementary
#BB97E8 #E8E497 #9BE897
monochromatic
#7933D2 #9A65DD #BB97E8 #DCC9F3 #EFE6F9

Accessibility & contrast

On white

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

On black

8.70
#BB97E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97E8
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97E8#FFFFFF#000000##000000
##BB97E81.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A6EB
Deuteranopia (green-blind)
#8DA7E6
Tritanopia (blue-blind)
#B4A3B5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bb97e8;
/* rgb */ color: rgb(187, 151, 232);
/* oklch */ color: oklch(73.9% 0.120 304.0);
Tailwind
colors: {
  custom: {
    50: '#d0b6ef',
    500: '#bb97e8',
    950: '#000000',
  },
}
SCSS
$custom: #bb97e8;
$custom-light: #d0b6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97e8",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 232
  },
  "hsl": {
    "h": 266.667,
    "s": 63.78,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73915,
    "c": 0.11994,
    "h": 304
  },
  "luminance": 0.38524
}

Semantic roles & 50–950 ramp

primary
#BB97E8
secondary
#E7F1DA
accent
#CC1A7D
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB97E8

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

Preview Lab → · Contrast checker → · Palette generator →

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