#BB77E2#BB77E2

#BB77E2 is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.3% C 0.166 H 312.0°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#BB77E2
RGBrgb(187, 119, 226)
HSLhsl(278, 65%, 68%)
HSVhsv(278, 47%, 89%)
CMYKcmyk(17.3%, 47.3%, 0%, 11.4%)
CIE-LABlab(61.00, 45.32, -44.21)
CIE-LCHlch(61.00, 63.31, 315.71°)
OKLaboklab(68.25% 0.111 -0.1231)
OKLCHoklch(68.25% 0.166 312)
XYZxyz(40.8154, 29.2503, 75.4325)
Luminance0.2925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB77E2 #9EE277
analogous
#8677E2 #BB77E2 #E277D3
triadic
#BB77E2 #E2BB77 #77E2BB
tetradic
#BB77E2 #E28677 #9EE277 #77D3E2
square
#BB77E2 #E28677 #9EE277 #77D3E2
split-complementary
#BB77E2 #D3E277 #77E286
monochromatic
#8327B7 #A245D7 #BB77E2 #D4A9ED #EDDCF8

Accessibility & contrast

On white

3.07
#BB77E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#BB77E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB77E2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB77E2#FFFFFF#000000##000000
##BB77E21.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F90E6
Deuteranopia (green-blind)
#7295DF
Tritanopia (blue-blind)
#B788A2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bb77e2;
/* rgb */ color: rgb(187, 119, 226);
/* oklch */ color: oklch(68.3% 0.166 312.0);
Tailwind
colors: {
  custom: {
    50: '#d1a0eb',
    500: '#bb77e2',
    950: '#000000',
  },
}
SCSS
$custom: #bb77e2;
$custom-light: #d1a0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb77e2",
  "rgb": {
    "r": 187,
    "g": 119,
    "b": 226
  },
  "hsl": {
    "h": 278.131,
    "s": 64.848,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6825,
    "c": 0.16576,
    "h": 312
  },
  "luminance": 0.29249
}

Semantic roles & 50–950 ramp

primary
#BB77E2
secondary
#D6EBCA
accent
#CD195A
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F16
muted
#837E84

Preview Lab

Preview with #BB77E2

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

Preview Lab → · Contrast checker → · Palette generator →

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