#BB77EE#BB77EE

#BB77EE is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.9% C 0.179 H 308.8°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#BB77EE
RGBrgb(187, 119, 238)
HSLhsl(274, 78%, 70%)
HSVhsv(274, 50%, 93%)
CMYKcmyk(21.4%, 50%, 0%, 6.7%)
CIE-LABlab(61.60, 47.94, -49.94)
CIE-LCHlch(61.60, 69.23, 313.83°)
OKLaboklab(68.88% 0.1124 -0.1398)
OKLCHoklch(68.88% 0.179 308.8)
XYZxyz(42.5200, 29.9321, 84.4099)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB77EE #AAEE77
analogous
#8077EE #BB77EE #EE77E5
triadic
#BB77EE #EEBB77 #77EEBB
tetradic
#BB77EE #EE8077 #AAEE77 #77E5EE
square
#BB77EE #EE8077 #AAEE77 #77E5EE
split-complementary
#BB77EE #E5EE77 #77EE80
monochromatic
#821AD1 #A041E7 #BB77EE #D6ADF5 #F1E4FC

Accessibility & contrast

On white

3.01
#BB77EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#BB77EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB77EE
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB77EE#FFFFFF#000000##000000
##BB77EE1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F2
Deuteranopia (green-blind)
#6B96EB
Tritanopia (blue-blind)
#B48BA8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb77ee;
/* rgb */ color: rgb(187, 119, 238);
/* oklch */ color: oklch(68.9% 0.179 308.8);
Tailwind
colors: {
  custom: {
    50: '#d2a0f4',
    500: '#bb77ee',
    950: '#000000',
  },
}
SCSS
$custom: #bb77ee;
$custom-light: #d2a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb77ee",
  "rgb": {
    "r": 187,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 274.286,
    "s": 77.778,
    "l": 70
  },
  "oklch": {
    "l": 0.68885,
    "c": 0.17934,
    "h": 308.8
  },
  "luminance": 0.29931
}

Semantic roles & 50–950 ramp

primary
#BB77EE
secondary
#DEF1D0
accent
#DA0B64
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB77EE

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

Preview Lab → · Contrast checker → · Palette generator →

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