#BB79F6#BB79F6

#BB79F6 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.6% C 0.185 H 306.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#BB79F6
RGBrgb(187, 121, 246)
HSLhsl(272, 87%, 72%)
HSVhsv(272, 51%, 96%)
CMYKcmyk(24%, 50.8%, 0%, 3.5%)
CIE-LABlab(62.42, 48.67, -53.06)
CIE-LCHlch(62.42, 72.00, 312.53°)
OKLaboklab(69.63% 0.1105 -0.1489)
OKLCHoklch(69.63% 0.185 306.6)
XYZxyz(43.9620, 30.8938, 90.8180)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB79F6 #B4F679
analogous
#7D79F6 #BB79F6 #F679F3
triadic
#BB79F6 #F6BB79 #79F6BB
tetradic
#BB79F6 #F67D79 #B4F679 #79F3F6
square
#BB79F6 #F67D79 #B4F679 #79F3F6
split-complementary
#BB79F6 #F3F679 #79F67D
monochromatic
#800FE5 #9E40F2 #BB79F6 #D8B2FA #F0E2FD

Accessibility & contrast

On white

2.93
#BB79F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#BB79F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB79F6
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB79F6#FFFFFF#000000##000000
##BB79F61.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5495FA
Deuteranopia (green-blind)
#6797F3
Tritanopia (blue-blind)
#B28FAC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb79f6;
/* rgb */ color: rgb(187, 121, 246);
/* oklch */ color: oklch(69.6% 0.185 306.6);
Tailwind
colors: {
  custom: {
    50: '#d2a1fa',
    500: '#bb79f6',
    950: '#000000',
  },
}
SCSS
$custom: #bb79f6;
$custom-light: #d2a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb79f6",
  "rgb": {
    "r": 187,
    "g": 121,
    "b": 246
  },
  "hsl": {
    "h": 271.68,
    "s": 87.413,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69628,
    "c": 0.18538,
    "h": 306.6
  },
  "luminance": 0.30893
}

Semantic roles & 50–950 ramp

primary
#BB79F6
secondary
#E5F5D6
accent
#E4026C
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB79F6

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

Preview Lab → · Contrast checker → · Palette generator →

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