#BB7FC7#BB7FC7

#BB7FC7 is a light, vivid purple. Relative luminance 0.299; OKLCH L 68.3% C 0.122 H 320.8°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#BB7FC7
RGBrgb(187, 127, 199)
HSLhsl(290, 39%, 64%)
HSVhsv(290, 36%, 78%)
CMYKcmyk(6%, 36.2%, 0%, 22%)
CIE-LABlab(61.54, 35.37, -28.22)
CIE-LCHlch(61.54, 45.25, 321.42°)
OKLaboklab(68.26% 0.0945 -0.0772)
OKLCHoklch(68.26% 0.122 320.8)
XYZxyz(38.3904, 29.8682, 57.7646)
Luminance0.2987 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FC7 #8BC77F
analogous
#977FC7 #BB7FC7 #C77FAF
triadic
#BB7FC7 #C7BB7F #7FC7BB
tetradic
#BB7FC7 #C7977F #8BC77F #7FAFC7
square
#BB7FC7 #C7977F #8BC77F #7FAFC7
split-complementary
#BB7FC7 #AFC77F #7FC797
monochromatic
#803E8E #A454B4 #BB7FC7 #D2AADA #E8D4EC

Accessibility & contrast

On white

3.01
#BB7FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#BB7FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB7FC7
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FC7#FFFFFF#000000##000000
##BB7FC71.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7690CA
Deuteranopia (green-blind)
#8597C5
Tritanopia (blue-blind)
#BC879A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb7fc7;
/* rgb */ color: rgb(187, 127, 199);
/* oklch */ color: oklch(68.3% 0.122 320.8);
Tailwind
colors: {
  custom: {
    50: '#d0a5d8',
    500: '#bb7fc7',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fc7;
$custom-light: #d0a5d8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fc7",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 199
  },
  "hsl": {
    "h": 290,
    "s": 39.13,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68264,
    "c": 0.122,
    "h": 320.8
  },
  "luminance": 0.29867
}

Semantic roles & 50–950 ramp

primary
#BB7FC7
secondary
#C8DEC4
accent
#B23349
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#140F14
muted
#827F83

Preview Lab

Preview with #BB7FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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