#BB85FB#BB85FB

#BB85FB is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.8% C 0.173 H 303.5°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#BB85FB
RGBrgb(187, 133, 251)
HSLhsl(267, 94%, 75%)
HSVhsv(267, 47%, 98%)
CMYKcmyk(25.5%, 47%, 0%, 1.6%)
CIE-LABlab(65.20, 43.37, -51.39)
CIE-LCHlch(65.20, 67.25, 310.16°)
OKLaboklab(71.78% 0.0952 -0.144)
OKLCHoklch(71.78% 0.173 303.5)
XYZxyz(46.2898, 34.3050, 95.4310)
Luminance0.3431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB85FB #C5FB85
analogous
#858AFB #BB85FB #F685FB
triadic
#BB85FB #FBBB85 #85FBBB
tetradic
#BB85FB #FB858A #C5FB85 #85FBF6
square
#BB85FB #FB858A #C5FB85 #85FBF6
split-complementary
#BB85FB #FBF685 #8AFB85
monochromatic
#790EF7 #9A4AF9 #BB85FB #DCC0FD #EEE1FE

Accessibility & contrast

On white

2.67
#BB85FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#BB85FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB85FB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB85FB#FFFFFF#000000##000000
##BB85FB1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#719EF8
Tritanopia (blue-blind)
#B09AB4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb85fb;
/* rgb */ color: rgb(187, 133, 251);
/* oklch */ color: oklch(71.8% 0.173 303.5);
Tailwind
colors: {
  custom: {
    50: '#d2a9fd',
    500: '#bb85fb',
    950: '#000000',
  },
}
SCSS
$custom: #bb85fb;
$custom-light: #d2a9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb85fb",
  "rgb": {
    "r": 187,
    "g": 133,
    "b": 251
  },
  "hsl": {
    "h": 267.458,
    "s": 93.651,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71783,
    "c": 0.17266,
    "h": 303.5
  },
  "luminance": 0.34305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB85FB

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

Preview Lab → · Contrast checker → · Palette generator →

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