#BB8CF7#BB8CF7

#BB8CF7 is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.7% C 0.157 H 303.0°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#BB8CF7
RGBrgb(187, 140, 247)
HSLhsl(266, 87%, 76%)
HSVhsv(266, 43%, 97%)
CMYKcmyk(24.3%, 43.3%, 0%, 3.1%)
CIE-LABlab(66.55, 38.61, -47.08)
CIE-LCHlch(66.55, 60.89, 309.36°)
OKLaboklab(72.73% 0.0853 -0.1315)
OKLCHoklch(72.73% 0.157 303)
XYZxyz(46.6565, 36.0364, 92.4754)
Luminance0.3604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8CF7 #C8F78C
analogous
#8C92F7 #BB8CF7 #F08CF7
triadic
#BB8CF7 #F7BB8C #8CF7BB
tetradic
#BB8CF7 #F78C92 #C8F78C #8CF7F0
square
#BB8CF7 #F78C92 #C8F78C #8CF7F0
split-complementary
#BB8CF7 #F7F08C #92F78C
monochromatic
#771AEF #9953F3 #BB8CF7 #DDC5FB #EEE2FD

Accessibility & contrast

On white

2.56
#BB8CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#BB8CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8CF7
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8CF7#FFFFFF#000000##000000
##BB8CF71.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FB
Deuteranopia (green-blind)
#7AA2F4
Tritanopia (blue-blind)
#B19EB6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bb8cf7;
/* rgb */ color: rgb(187, 140, 247);
/* oklch */ color: oklch(72.7% 0.157 303.0);
Tailwind
colors: {
  custom: {
    50: '#d1aefa',
    500: '#bb8cf7',
    950: '#000000',
  },
}
SCSS
$custom: #bb8cf7;
$custom-light: #d1aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8cf7",
  "rgb": {
    "r": 187,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 266.355,
    "s": 86.992,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72727,
    "c": 0.15674,
    "h": 303
  },
  "luminance": 0.36036
}

Semantic roles & 50–950 ramp

primary
#BB8CF7
secondary
#E7F5D6
accent
#E40280
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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