#BB97E2#BB97E2

#BB97E2 is a light, moderate violet. Relative luminance 0.382; OKLCH L 73.6% C 0.112 H 305.8°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#BB97E2
RGBrgb(187, 151, 226)
HSLhsl(269, 56%, 74%)
HSVhsv(269, 33%, 89%)
CMYKcmyk(17.3%, 33.2%, 0%, 11.4%)
CIE-LABlab(68.16, 27.76, -33.02)
CIE-LCHlch(68.16, 43.14, 310.05°)
OKLaboklab(73.65% 0.0657 -0.091)
OKLCHoklch(73.65% 0.112 305.8)
XYZxyz(45.2849, 38.1892, 76.9223)
Luminance0.3819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97E2 #BEE297
analogous
#9799E2 #BB97E2 #E197E2
triadic
#BB97E2 #E2BB97 #97E2BB
tetradic
#BB97E2 #E29799 #BEE297 #97E2E1
square
#BB97E2 #E29799 #BEE297 #97E2E1
split-complementary
#BB97E2 #E2E197 #99E297
monochromatic
#7C38C7 #9C67D5 #BB97E2 #DAC7EF #EFE7F8

Accessibility & contrast

On white

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

On black

8.64
#BB97E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97E2
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97E2#FFFFFF#000000##000000
##BB97E21.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A5E5
Deuteranopia (green-blind)
#8FA6E0
Tritanopia (blue-blind)
#B5A2B2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bb97e2;
/* rgb */ color: rgb(187, 151, 226);
/* oklch */ color: oklch(73.6% 0.112 305.8);
Tailwind
colors: {
  custom: {
    50: '#d0b6eb',
    500: '#bb97e2',
    950: '#000000',
  },
}
SCSS
$custom: #bb97e2;
$custom-light: #d0b6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97e2",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 226
  },
  "hsl": {
    "h": 268.8,
    "s": 56.391,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73647,
    "c": 0.11227,
    "h": 305.8
  },
  "luminance": 0.38189
}

Semantic roles & 50–950 ramp

primary
#BB97E2
secondary
#E6F0DB
accent
#C42276
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB97E2

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

Preview Lab → · Contrast checker → · Palette generator →

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