#BB7BF6#BB7BF6

#BB7BF6 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.9% C 0.182 H 306.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#BB7BF6
RGBrgb(187, 123, 246)
HSLhsl(271, 87%, 72%)
HSVhsv(271, 50%, 96%)
CMYKcmyk(24%, 50%, 0%, 3.5%)
CIE-LABlab(62.83, 47.61, -52.40)
CIE-LCHlch(62.83, 70.80, 312.25°)
OKLaboklab(69.93% 0.1079 -0.1469)
OKLCHoklch(69.93% 0.182 306.3)
XYZxyz(44.2076, 31.3849, 90.8999)
Luminance0.3139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7BF6 #B6F67B
analogous
#7E7BF6 #BB7BF6 #F67BF3
triadic
#BB7BF6 #F6BB7B #7BF6BB
tetradic
#BB7BF6 #F67E7B #B6F67B #7BF3F6
square
#BB7BF6 #F67E7B #B6F67B #7BF3F6
split-complementary
#BB7BF6 #F3F67B #7BF67E
monochromatic
#8010E7 #9D42F2 #BB7BF6 #D9B4FA #F0E2FD

Accessibility & contrast

On white

2.89
#BB7BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#BB7BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7BF6
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7BF6#FFFFFF#000000##000000
##BB7BF61.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FA
Deuteranopia (green-blind)
#6A98F3
Tritanopia (blue-blind)
#B291AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7bf6;
/* rgb */ color: rgb(187, 123, 246);
/* oklch */ color: oklch(69.9% 0.182 306.3);
Tailwind
colors: {
  custom: {
    50: '#d2a3fa',
    500: '#bb7bf6',
    950: '#000000',
  },
}
SCSS
$custom: #bb7bf6;
$custom-light: #d2a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7bf6",
  "rgb": {
    "r": 187,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 271.22,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69934,
    "c": 0.18229,
    "h": 306.3
  },
  "luminance": 0.31385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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