#BB97E1#BB97E1

#BB97E1 is a light, moderate violet. Relative luminance 0.381; OKLCH L 73.6% C 0.111 H 306.1°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#BB97E1
RGBrgb(187, 151, 225)
HSLhsl(269, 55%, 74%)
HSVhsv(269, 33%, 88%)
CMYKcmyk(16.9%, 32.9%, 0%, 11.8%)
CIE-LABlab(68.12, 27.54, -32.53)
CIE-LCHlch(68.12, 42.63, 310.25°)
OKLaboklab(73.6% 0.0655 -0.0896)
OKLCHoklch(73.6% 0.111 306.1)
XYZxyz(45.1481, 38.1345, 76.2018)
Luminance0.3813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97E1 #BDE197
analogous
#9798E1 #BB97E1 #E097E1
triadic
#BB97E1 #E1BB97 #97E1BB
tetradic
#BB97E1 #E19798 #BDE197 #97E1E0
square
#BB97E1 #E19798 #BDE197 #97E1E0
split-complementary
#BB97E1 #E1E097 #98E197
monochromatic
#7D39C5 #9C67D3 #BB97E1 #DAC6EF #EFE7F8

Accessibility & contrast

On white

2.43
#BB97E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#BB97E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97E1
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97E1#FFFFFF#000000##000000
##BB97E11.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A5E4
Deuteranopia (green-blind)
#90A6DF
Tritanopia (blue-blind)
#B6A2B2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bb97e1;
/* rgb */ color: rgb(187, 151, 225);
/* oklch */ color: oklch(73.6% 0.111 306.1);
Tailwind
colors: {
  custom: {
    50: '#d0b6ea',
    500: '#bb97e1',
    950: '#000000',
  },
}
SCSS
$custom: #bb97e1;
$custom-light: #d0b6ea;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97e1",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 225
  },
  "hsl": {
    "h": 269.189,
    "s": 55.224,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73603,
    "c": 0.11101,
    "h": 306.1
  },
  "luminance": 0.38134
}

Semantic roles & 50–950 ramp

primary
#BB97E1
secondary
#E6EFDC
accent
#C32375
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB97E1

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

Preview Lab → · Contrast checker → · Palette generator →

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