#BB79E7#BB79E7

#BB79E7 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.8% C 0.168 H 310.4°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#BB79E7
RGBrgb(187, 121, 231)
HSLhsl(276, 70%, 69%)
HSVhsv(276, 48%, 91%)
CMYKcmyk(19%, 47.6%, 0%, 9.4%)
CIE-LABlab(61.66, 45.33, -45.95)
CIE-LCHlch(61.66, 64.55, 314.61°)
OKLaboklab(68.82% 0.1089 -0.1282)
OKLCHoklch(68.82% 0.168 310.4)
XYZxyz(41.7520, 30.0098, 79.1788)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB79E7 #A5E779
analogous
#8479E7 #BB79E7 #E779DC
triadic
#BB79E7 #E7BB79 #79E7BB
tetradic
#BB79E7 #E78479 #A5E779 #79DCE7
square
#BB79E7 #E78479 #A5E779 #79DCE7
split-complementary
#BB79E7 #DCE779 #79E784
monochromatic
#8323C3 #A145DE #BB79E7 #D5ADF0 #F0E1FA

Accessibility & contrast

On white

3.00
#BB79E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#BB79E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB79E7
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB79E7#FFFFFF#000000##000000
##BB79E71.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F92EB
Deuteranopia (green-blind)
#7196E4
Tritanopia (blue-blind)
#B68BA5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb79e7;
/* rgb */ color: rgb(187, 121, 231);
/* oklch */ color: oklch(68.8% 0.168 310.4);
Tailwind
colors: {
  custom: {
    50: '#d1a1ef',
    500: '#bb79e7',
    950: '#000000',
  },
}
SCSS
$custom: #bb79e7;
$custom-light: #d1a1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb79e7",
  "rgb": {
    "r": 187,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 276,
    "s": 69.62,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68821,
    "c": 0.16819,
    "h": 310.4
  },
  "luminance": 0.30009
}

Semantic roles & 50–950 ramp

primary
#BB79E7
secondary
#DBEECE
accent
#D21460
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB79E7

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

Preview Lab → · Contrast checker → · Palette generator →

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