#BB79E4#BB79E4

#BB79E4 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.7% C 0.165 H 311.2°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#BB79E4
RGBrgb(187, 121, 228)
HSLhsl(277, 66%, 68%)
HSVhsv(277, 47%, 89%)
CMYKcmyk(18%, 46.9%, 0%, 10.6%)
CIE-LABlab(61.52, 44.68, -44.51)
CIE-LCHlch(61.52, 63.07, 315.11°)
OKLaboklab(68.67% 0.1085 -0.124)
OKLCHoklch(68.67% 0.165 311.2)
XYZxyz(41.3320, 29.8417, 76.9664)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB79E4 #A2E479
analogous
#8579E4 #BB79E4 #E479D8
triadic
#BB79E4 #E4BB79 #79E4BB
tetradic
#BB79E4 #E48579 #A2E479 #79D8E4
square
#BB79E4 #E48579 #A2E479 #79D8E4
split-complementary
#BB79E4 #D8E479 #79E485
monochromatic
#8326BD #A146DA #BB79E4 #D5ACEE #EFDFF9

Accessibility & contrast

On white

3.01
#BB79E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#BB79E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB79E4
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB79E4#FFFFFF#000000##000000
##BB79E41.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6091E8
Deuteranopia (green-blind)
#7396E1
Tritanopia (blue-blind)
#B68AA4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb79e4;
/* rgb */ color: rgb(187, 121, 228);
/* oklch */ color: oklch(68.7% 0.165 311.2);
Tailwind
colors: {
  custom: {
    50: '#d1a1ed',
    500: '#bb79e4',
    950: '#000000',
  },
}
SCSS
$custom: #bb79e4;
$custom-light: #d1a1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb79e4",
  "rgb": {
    "r": 187,
    "g": 121,
    "b": 228
  },
  "hsl": {
    "h": 277.009,
    "s": 66.46,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68666,
    "c": 0.16477,
    "h": 311.2
  },
  "luminance": 0.29841
}

Semantic roles & 50–950 ramp

primary
#BB79E4
secondary
#D9ECCC
accent
#CE175D
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB79E4

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

Preview Lab → · Contrast checker → · Palette generator →

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