#BB84F7#BB84F7

#BB84F7 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.4% C 0.169 H 304.5°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#BB84F7
RGBrgb(187, 132, 247)
HSLhsl(269, 88%, 74%)
HSVhsv(269, 47%, 97%)
CMYKcmyk(24.3%, 46.6%, 0%, 3.1%)
CIE-LABlab(64.79, 42.99, -49.85)
CIE-LCHlch(64.79, 65.83, 310.77°)
OKLaboklab(71.41% 0.0961 -0.1395)
OKLCHoklch(71.41% 0.169 304.5)
XYZxyz(45.5297, 33.7829, 92.0998)
Luminance0.3378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB84F7 #C0F784
analogous
#8487F7 #BB84F7 #F584F7
triadic
#BB84F7 #F7BB84 #84F7BB
tetradic
#BB84F7 #F78487 #C0F784 #84F7F5
square
#BB84F7 #F78487 #C0F784 #84F7F5
split-complementary
#BB84F7 #F7F584 #87F784
monochromatic
#7B11F0 #9B4BF3 #BB84F7 #DBBDFB #EFE2FD

Accessibility & contrast

On white

2.71
#BB84F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#BB84F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB84F7
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB84F7#FFFFFF#000000##000000
##BB84F71.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFB
Deuteranopia (green-blind)
#729DF4
Tritanopia (blue-blind)
#B198B2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bb84f7;
/* rgb */ color: rgb(187, 132, 247);
/* oklch */ color: oklch(71.4% 0.169 304.5);
Tailwind
colors: {
  custom: {
    50: '#d2a9fa',
    500: '#bb84f7',
    950: '#000000',
  },
}
SCSS
$custom: #bb84f7;
$custom-light: #d2a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb84f7",
  "rgb": {
    "r": 187,
    "g": 132,
    "b": 247
  },
  "hsl": {
    "h": 268.696,
    "s": 87.786,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71409,
    "c": 0.16941,
    "h": 304.5
  },
  "luminance": 0.33783
}

Semantic roles & 50–950 ramp

primary
#BB84F7
secondary
#E6F5D6
accent
#E40178
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB84F7

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

Preview Lab → · Contrast checker → · Palette generator →

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