#BB85EC#BB85EC

#BB85EC is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.0% C 0.155 H 307.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#BB85EC
RGBrgb(187, 133, 236)
HSLhsl(271, 73%, 72%)
HSVhsv(271, 44%, 93%)
CMYKcmyk(20.8%, 43.6%, 0%, 7.5%)
CIE-LABlab(64.48, 39.94, -44.28)
CIE-LCHlch(64.48, 59.64, 312.05°)
OKLaboklab(71.01% 0.0932 -0.1234)
OKLCHoklch(71.01% 0.155 307.1)
XYZxyz(44.0184, 33.3964, 83.4678)
Luminance0.3340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB85EC #B6EC85
analogous
#8785EC #BB85EC #EC85EA
triadic
#BB85EC #ECBB85 #85ECBB
tetradic
#BB85EC #EC8785 #B6EC85 #85EAEC
square
#BB85EC #EC8785 #B6EC85 #85EAEC
split-complementary
#BB85EC #EAEC85 #85EC87
monochromatic
#8021D5 #9D50E4 #BB85EC #D9BAF4 #F0E5FB

Accessibility & contrast

On white

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

On black

7.68
#BB85EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB85EC
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB85EC#FFFFFF#000000##000000
##BB85EC1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AF0
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#B496AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bb85ec;
/* rgb */ color: rgb(187, 133, 236);
/* oklch */ color: oklch(71.0% 0.155 307.1);
Tailwind
colors: {
  custom: {
    50: '#d1a9f2',
    500: '#bb85ec',
    950: '#000000',
  },
}
SCSS
$custom: #bb85ec;
$custom-light: #d1a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb85ec",
  "rgb": {
    "r": 187,
    "g": 133,
    "b": 236
  },
  "hsl": {
    "h": 271.456,
    "s": 73.05,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71006,
    "c": 0.15459,
    "h": 307.1
  },
  "luminance": 0.33396
}

Semantic roles & 50–950 ramp

primary
#BB85EC
secondary
#E5F3D8
accent
#D5106E
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB85EC

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

Preview Lab → · Contrast checker → · Palette generator →

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