#BB7BF7#BB7BF7

#BB7BF7 is a light, vivid violet. Relative luminance 0.314; OKLCH L 70.0% C 0.183 H 306.1°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#BB7BF7
RGBrgb(187, 123, 247)
HSLhsl(271, 89%, 73%)
HSVhsv(271, 50%, 97%)
CMYKcmyk(24.3%, 50.2%, 0%, 3.1%)
CIE-LABlab(62.88, 47.83, -52.87)
CIE-LCHlch(62.88, 71.30, 312.14°)
OKLaboklab(69.99% 0.108 -0.1483)
OKLCHoklch(69.99% 0.183 306.1)
XYZxyz(44.3615, 31.4465, 91.7104)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7BF7 #B7F77B
analogous
#7D7BF7 #BB7BF7 #F77BF5
triadic
#BB7BF7 #F7BB7B #7BF7BB
tetradic
#BB7BF7 #F77D7B #B7F77B #7BF5F7
square
#BB7BF7 #F77D7B #B7F77B #7BF5F7
split-complementary
#BB7BF7 #F5F77B #7BF77D
monochromatic
#7F0EE9 #9D41F4 #BB7BF7 #D9B5FA #F0E2FD

Accessibility & contrast

On white

2.88
#BB7BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#BB7BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7BF7
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7BF7#FFFFFF#000000##000000
##BB7BF71.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FB
Deuteranopia (green-blind)
#6999F4
Tritanopia (blue-blind)
#B291AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7bf7;
/* rgb */ color: rgb(187, 123, 247);
/* oklch */ color: oklch(70.0% 0.183 306.1);
Tailwind
colors: {
  custom: {
    50: '#d2a3fa',
    500: '#bb7bf7',
    950: '#000000',
  },
}
SCSS
$custom: #bb7bf7;
$custom-light: #d2a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7bf7",
  "rgb": {
    "r": 187,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 270.968,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69989,
    "c": 0.18345,
    "h": 306.1
  },
  "luminance": 0.31446
}

Semantic roles & 50–950 ramp

primary
#BB7BF7
secondary
#E5F5D6
accent
#E5006F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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