#BB77F2#BB77F2

#BB77F2 is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.1% C 0.184 H 307.8°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#BB77F2
RGBrgb(187, 119, 242)
HSLhsl(273, 83%, 71%)
HSVhsv(273, 51%, 95%)
CMYKcmyk(22.7%, 50.8%, 0%, 5.1%)
CIE-LABlab(61.80, 48.83, -51.83)
CIE-LCHlch(61.80, 71.21, 313.29°)
OKLaboklab(69.1% 0.1128 -0.1453)
OKLCHoklch(69.1% 0.184 307.8)
XYZxyz(43.1142, 30.1698, 87.5393)
Luminance0.3017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB77F2 #AEF277
analogous
#7D77F2 #BB77F2 #F277EB
triadic
#BB77F2 #F2BB77 #77F2BB
tetradic
#BB77F2 #F27D77 #AEF277 #77EBF2
square
#BB77F2 #F27D77 #AEF277 #77EBF2
split-complementary
#BB77F2 #EBF277 #77F27D
monochromatic
#8215DA #9F3FED #BB77F2 #D7AFF7 #F1E3FC

Accessibility & contrast

On white

2.99
#BB77F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#BB77F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB77F2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB77F2#FFFFFF#000000##000000
##BB77F21.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#6896EF
Tritanopia (blue-blind)
#B38CAA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb77f2;
/* rgb */ color: rgb(187, 119, 242);
/* oklch */ color: oklch(69.1% 0.184 307.8);
Tailwind
colors: {
  custom: {
    50: '#d2a0f7',
    500: '#bb77f2',
    950: '#000000',
  },
}
SCSS
$custom: #bb77f2;
$custom-light: #d2a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb77f2",
  "rgb": {
    "r": 187,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 273.171,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69103,
    "c": 0.1839,
    "h": 307.8
  },
  "luminance": 0.30169
}

Semantic roles & 50–950 ramp

primary
#BB77F2
secondary
#E1F3D2
accent
#DF0767
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB77F2

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

Preview Lab → · Contrast checker → · Palette generator →

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