#BB7CF6#BB7CF6

#BB7CF6 is a light, vivid violet. Relative luminance 0.316; OKLCH L 70.1% C 0.181 H 306.1°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#BB7CF6
RGBrgb(187, 124, 246)
HSLhsl(271, 87%, 73%)
HSVhsv(271, 50%, 96%)
CMYKcmyk(24%, 49.6%, 0%, 3.5%)
CIE-LABlab(63.04, 47.07, -52.07)
CIE-LCHlch(63.04, 70.20, 312.11°)
OKLaboklab(70.09% 0.1066 -0.146)
OKLCHoklch(70.09% 0.181 306.1)
XYZxyz(44.3323, 31.6343, 90.9415)
Luminance0.3163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7CF6 #B7F67C
analogous
#7E7CF6 #BB7CF6 #F67CF4
triadic
#BB7CF6 #F6BB7C #7CF6BB
tetradic
#BB7CF6 #F67E7C #B7F67C #7CF4F6
square
#BB7CF6 #F67E7C #B7F67C #7CF4F6
split-complementary
#BB7CF6 #F4F67C #7CF67E
monochromatic
#7F10E8 #9D43F2 #BB7CF6 #D9B5FA #F0E2FD

Accessibility & contrast

On white

2.87
#BB7CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#BB7CF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7CF6
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7CF6#FFFFFF#000000##000000
##BB7CF61.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5996FA
Deuteranopia (green-blind)
#6B99F3
Tritanopia (blue-blind)
#B291AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7cf6;
/* rgb */ color: rgb(187, 124, 246);
/* oklch */ color: oklch(70.1% 0.181 306.1);
Tailwind
colors: {
  custom: {
    50: '#d2a3fa',
    500: '#bb7cf6',
    950: '#000000',
  },
}
SCSS
$custom: #bb7cf6;
$custom-light: #d2a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7cf6",
  "rgb": {
    "r": 187,
    "g": 124,
    "b": 246
  },
  "hsl": {
    "h": 270.984,
    "s": 87.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70089,
    "c": 0.18074,
    "h": 306.1
  },
  "luminance": 0.31634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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