#BB79EC#BB79EC

#BB79EC is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.1% C 0.174 H 309.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#BB79EC
RGBrgb(187, 121, 236)
HSLhsl(274, 75%, 70%)
HSVhsv(274, 49%, 93%)
CMYKcmyk(20.8%, 48.7%, 0%, 7.5%)
CIE-LABlab(61.91, 46.43, -48.34)
CIE-LCHlch(61.91, 67.03, 313.85°)
OKLaboklab(69.08% 0.1095 -0.1351)
OKLCHoklch(69.08% 0.174 309)
XYZxyz(42.4683, 30.2963, 82.9512)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB79EC #AAEC79
analogous
#8279EC #BB79EC #EC79E3
triadic
#BB79EC #ECBB79 #79ECBB
tetradic
#BB79EC #EC8279 #AAEC79 #79E3EC
square
#BB79EC #EC8279 #AAEC79 #79E3EC
split-complementary
#BB79EC #E3EC79 #79EC82
monochromatic
#821DCD #A043E4 #BB79EC #D6AFF4 #F1E4FB

Accessibility & contrast

On white

2.97
#BB79EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#BB79EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB79EC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB79EC#FFFFFF#000000##000000
##BB79EC1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F0
Deuteranopia (green-blind)
#6E97E9
Tritanopia (blue-blind)
#B58CA8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bb79ec;
/* rgb */ color: rgb(187, 121, 236);
/* oklch */ color: oklch(69.1% 0.174 309.0);
Tailwind
colors: {
  custom: {
    50: '#d2a1f2',
    500: '#bb79ec',
    950: '#000000',
  },
}
SCSS
$custom: #bb79ec;
$custom-light: #d2a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb79ec",
  "rgb": {
    "r": 187,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 274.435,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.69085,
    "c": 0.17391,
    "h": 309
  },
  "luminance": 0.30296
}

Semantic roles & 50–950 ramp

primary
#BB79EC
secondary
#DEF0D0
accent
#D70E64
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB79EC

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

Preview Lab → · Contrast checker → · Palette generator →

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