#BB84FC#BB84FC

#BB84FC is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.7% C 0.175 H 303.4°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#BB84FC
RGBrgb(187, 132, 252)
HSLhsl(268, 95%, 75%)
HSVhsv(268, 48%, 99%)
CMYKcmyk(25.8%, 47.6%, 0%, 1.2%)
CIE-LABlab(65.04, 44.14, -52.20)
CIE-LCHlch(65.04, 68.36, 310.22°)
OKLaboklab(71.68% 0.0967 -0.1464)
OKLCHoklch(71.68% 0.175 303.4)
XYZxyz(46.3116, 34.0957, 96.2179)
Luminance0.3410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB84FC #C5FC84
analogous
#8489FC #BB84FC #F784FC
triadic
#BB84FC #FCBB84 #84FCBB
tetradic
#BB84FC #FC8489 #C5FC84 #84FCF7
square
#BB84FC #FC8489 #C5FC84 #84FCF7
split-complementary
#BB84FC #FCF784 #89FC84
monochromatic
#790DF9 #9A48FB #BB84FC #DCC0FD #EEE1FE

Accessibility & contrast

On white

2.69
#BB84FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#BB84FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB84FC
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB84FC#FFFFFF#000000##000000
##BB84FC1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#6F9EF9
Tritanopia (blue-blind)
#B099B4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb84fc;
/* rgb */ color: rgb(187, 132, 252);
/* oklch */ color: oklch(71.7% 0.175 303.4);
Tailwind
colors: {
  custom: {
    50: '#d2a9fe',
    500: '#bb84fc',
    950: '#000000',
  },
}
SCSS
$custom: #bb84fc;
$custom-light: #d2a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb84fc",
  "rgb": {
    "r": 187,
    "g": 132,
    "b": 252
  },
  "hsl": {
    "h": 267.5,
    "s": 95.238,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71676,
    "c": 0.17542,
    "h": 303.4
  },
  "luminance": 0.34096
}

Semantic roles & 50–950 ramp

primary
#BB84FC
secondary
#E7F6D5
accent
#E6007C
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB84FC

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

Preview Lab → · Contrast checker → · Palette generator →

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