#BB97EA#BB97EA

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

Color values

HEX#BB97EA
RGBrgb(187, 151, 234)
HSLhsl(266, 66%, 75%)
HSVhsv(266, 35%, 92%)
CMYKcmyk(20.1%, 35.5%, 0%, 8.2%)
CIE-LABlab(68.49, 29.55, -36.91)
CIE-LCHlch(68.49, 47.28, 308.68°)
OKLaboklab(74.01% 0.0676 -0.1022)
OKLCHoklch(74.01% 0.123 303.5)
XYZxyz(46.4083, 38.6386, 82.8391)
Luminance0.3864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97EA #C6EA97
analogous
#979CEA #BB97EA #E497EA
triadic
#BB97EA #EABB97 #97EABB
tetradic
#BB97EA #EA979C #C6EA97 #97EAE4
square
#BB97EA #EA979C #C6EA97 #97EAE4
split-complementary
#BB97EA #EAE497 #9CEA97
monochromatic
#7831D5 #9A64E0 #BB97EA #DCCAF4 #EEE6FA

Accessibility & contrast

On white

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

On black

8.73
#BB97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97EA
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97EA#FFFFFF#000000##000000
##BB97EA1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A6ED
Deuteranopia (green-blind)
#8CA7E8
Tritanopia (blue-blind)
#B3A4B6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bb97ea;
/* rgb */ color: rgb(187, 151, 234);
/* oklch */ color: oklch(74.0% 0.123 303.5);
Tailwind
colors: {
  custom: {
    50: '#d0b6f1',
    500: '#bb97ea',
    950: '#000000',
  },
}
SCSS
$custom: #bb97ea;
$custom-light: #d0b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97ea",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 266.024,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74006,
    "c": 0.12251,
    "h": 303.5
  },
  "luminance": 0.38639
}

Semantic roles & 50–950 ramp

primary
#BB97EA
secondary
#E7F1DA
accent
#CE177F
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB97EA

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

Preview Lab → · Contrast checker → · Palette generator →

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