#BB97ED#BB97ED

#BB97ED is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.1% C 0.126 H 302.7°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#BB97ED
RGBrgb(187, 151, 237)
HSLhsl(265, 70%, 76%)
HSVhsv(265, 36%, 93%)
CMYKcmyk(21.1%, 36.3%, 0%, 7.1%)
CIE-LABlab(68.62, 30.23, -38.36)
CIE-LCHlch(68.62, 48.84, 308.24°)
OKLaboklab(74.14% 0.0683 -0.1063)
OKLCHoklch(74.14% 0.126 302.7)
XYZxyz(46.8430, 38.8125, 85.1281)
Luminance0.3881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97ED #C9ED97
analogous
#979EED #BB97ED #E697ED
triadic
#BB97ED #EDBB97 #97EDBB
tetradic
#BB97ED #ED979E #C9ED97 #97EDE6
square
#BB97ED #ED979E #C9ED97 #97EDE6
split-complementary
#BB97ED #EDE697 #9EED97
monochromatic
#772FDB #9963E4 #BB97ED #DDCBF6 #EEE5FA

Accessibility & contrast

On white

2.40
#BB97ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#BB97ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97ED
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97ED#FFFFFF#000000##000000
##BB97ED1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F0
Deuteranopia (green-blind)
#8AA7EB
Tritanopia (blue-blind)
#B3A5B7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bb97ed;
/* rgb */ color: rgb(187, 151, 237);
/* oklch */ color: oklch(74.1% 0.126 302.7);
Tailwind
colors: {
  custom: {
    50: '#d1b6f3',
    500: '#bb97ed',
    950: '#000000',
  },
}
SCSS
$custom: #bb97ed;
$custom-light: #d1b6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97ed",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 265.116,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74144,
    "c": 0.12636,
    "h": 302.7
  },
  "luminance": 0.38812
}

Semantic roles & 50–950 ramp

primary
#BB97ED
secondary
#E8F2D9
accent
#D31382
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB97ED

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

Preview Lab → · Contrast checker → · Palette generator →

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