#BB79EB#BB79EB

#BB79EB is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.0% C 0.173 H 309.3°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#BB79EB
RGBrgb(187, 121, 235)
HSLhsl(275, 74%, 70%)
HSVhsv(275, 49%, 92%)
CMYKcmyk(20.4%, 48.5%, 0%, 7.8%)
CIE-LABlab(61.86, 46.21, -47.86)
CIE-LCHlch(61.86, 66.53, 314.00°)
OKLaboklab(69.03% 0.1094 -0.1337)
OKLCHoklch(69.03% 0.173 309.3)
XYZxyz(42.3234, 30.2383, 82.1881)
Luminance0.3024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB79EB #A9EB79
analogous
#8279EB #BB79EB #EB79E2
triadic
#BB79EB #EBBB79 #79EBBB
tetradic
#BB79EB #EB8279 #A9EB79 #79E2EB
square
#BB79EB #EB8279 #A9EB79 #79E2EB
split-complementary
#BB79EB #E2EB79 #79EB82
monochromatic
#821ECB #A044E3 #BB79EB #D6AEF3 #F1E4FB

Accessibility & contrast

On white

2.98
#BB79EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#BB79EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB79EB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB79EB#FFFFFF#000000##000000
##BB79EB1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93EF
Deuteranopia (green-blind)
#6F96E8
Tritanopia (blue-blind)
#B58CA7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb79eb;
/* rgb */ color: rgb(187, 121, 235);
/* oklch */ color: oklch(69.0% 0.173 309.3);
Tailwind
colors: {
  custom: {
    50: '#d2a1f2',
    500: '#bb79eb',
    950: '#000000',
  },
}
SCSS
$custom: #bb79eb;
$custom-light: #d2a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb79eb",
  "rgb": {
    "r": 187,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 274.737,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69032,
    "c": 0.17276,
    "h": 309.3
  },
  "luminance": 0.30238
}

Semantic roles & 50–950 ramp

primary
#BB79EB
secondary
#DDF0D0
accent
#D60F63
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB79EB

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

Preview Lab → · Contrast checker → · Palette generator →

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