#BB97DF#BB97DF

#BB97DF is a light, moderate violet. Relative luminance 0.380; OKLCH L 73.5% C 0.108 H 306.8°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#BB97DF
RGBrgb(187, 151, 223)
HSLhsl(270, 53%, 73%)
HSVhsv(270, 32%, 87%)
CMYKcmyk(16.1%, 32.3%, 0%, 12.5%)
CIE-LABlab(68.04, 27.10, -31.56)
CIE-LCHlch(68.04, 41.60, 310.66°)
OKLaboklab(73.52% 0.065 -0.0869)
OKLCHoklch(73.52% 0.108 306.8)
XYZxyz(44.8769, 38.0260, 74.7733)
Luminance0.3803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97DF #BBDF97
analogous
#9797DF #BB97DF #DF97DF
triadic
#BB97DF #DFBB97 #97DFBB
tetradic
#BB97DF #DF9797 #BBDF97 #97DFDF
square
#BB97DF #DF9797 #BBDF97 #97DFDF
split-complementary
#BB97DF #DFDF97 #97DF97
monochromatic
#7E3BC0 #9C68D1 #BB97DF #DAC6ED #F0E8F8

Accessibility & contrast

On white

2.44
#BB97DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#BB97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97DF
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97DF#FFFFFF#000000##000000
##BB97DF1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A4E2
Deuteranopia (green-blind)
#90A6DD
Tritanopia (blue-blind)
#B6A1B1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bb97df;
/* rgb */ color: rgb(187, 151, 223);
/* oklch */ color: oklch(73.5% 0.108 306.8);
Tailwind
colors: {
  custom: {
    50: '#d0b6e9',
    500: '#bb97df',
    950: '#000000',
  },
}
SCSS
$custom: #bb97df;
$custom-light: #d0b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97df",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 270,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73516,
    "c": 0.10846,
    "h": 306.8
  },
  "luminance": 0.38026
}

Semantic roles & 50–950 ramp

primary
#BB97DF
secondary
#E6EFDC
accent
#C02573
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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