#BB84F2#BB84F2

#BB84F2 is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.1% C 0.163 H 305.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#BB84F2
RGBrgb(187, 132, 242)
HSLhsl(270, 81%, 73%)
HSVhsv(270, 45%, 95%)
CMYKcmyk(22.7%, 45.5%, 0%, 5.1%)
CIE-LABlab(64.55, 41.85, -47.49)
CIE-LCHlch(64.55, 63.29, 311.39°)
OKLaboklab(71.15% 0.0954 -0.1327)
OKLCHoklch(71.15% 0.163 305.7)
XYZxyz(44.7685, 33.4784, 88.0907)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB84F2 #BBF284
analogous
#8484F2 #BB84F2 #F284F2
triadic
#BB84F2 #F2BB84 #84F2BB
tetradic
#BB84F2 #F28484 #BBF284 #84F2F2
square
#BB84F2 #F28484 #BBF284 #84F2F2
split-complementary
#BB84F2 #F2F284 #84F284
monochromatic
#7E18E4 #9C4DEC #BB84F2 #DABBF8 #F0E3FC

Accessibility & contrast

On white

2.73
#BB84F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#BB84F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB84F2
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB84F2#FFFFFF#000000##000000
##BB84F21.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#B296B0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bb84f2;
/* rgb */ color: rgb(187, 132, 242);
/* oklch */ color: oklch(71.1% 0.163 305.7);
Tailwind
colors: {
  custom: {
    50: '#d1a9f7',
    500: '#bb84f2',
    950: '#000000',
  },
}
SCSS
$custom: #bb84f2;
$custom-light: #d1a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb84f2",
  "rgb": {
    "r": 187,
    "g": 132,
    "b": 242
  },
  "hsl": {
    "h": 270,
    "s": 80.882,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71148,
    "c": 0.16341,
    "h": 305.7
  },
  "luminance": 0.33478
}

Semantic roles & 50–950 ramp

primary
#BB84F2
secondary
#E6F4D7
accent
#DD0873
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB84F2

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

Preview Lab → · Contrast checker → · Palette generator →

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