#BA79BB#BA79BB

#BA79BB is a light, moderate purple. Relative luminance 0.277; OKLCH L 66.6% C 0.120 H 326.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#BA79BB
RGBrgb(186, 121, 187)
HSLhsl(299, 33%, 60%)
HSVhsv(299, 35%, 73%)
CMYKcmyk(0.5%, 35.3%, 0%, 26.7%)
CIE-LABlab(59.62, 36.00, -24.39)
CIE-LCHlch(59.62, 43.49, 325.89°)
OKLaboklab(66.63% 0.0994 -0.0663)
OKLCHoklch(66.63% 0.12 326.3)
XYZxyz(36.0559, 27.7031, 50.4521)
Luminance0.2770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA79BB #7ABB79
analogous
#9979BB #BA79BB #BB799B
triadic
#BA79BB #BBBA79 #79BBBA
tetradic
#BA79BB #BB9979 #7ABB79 #799BBB
square
#BA79BB #BB9979 #7ABB79 #799BBB
split-complementary
#BA79BB #9BBB79 #79BB99
monochromatic
#7A3E7B #A253A4 #BA79BB #CFA2D0 #E4CAE4

Accessibility & contrast

On white

3.21
#BA79BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#BA79BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA79BB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA79BB#FFFFFF#000000##000000
##BA79BB1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#748ABD
Deuteranopia (green-blind)
#8493B9
Tritanopia (blue-blind)
#BE7F92
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba79bb;
/* rgb */ color: rgb(186, 121, 187);
/* oklch */ color: oklch(66.6% 0.120 326.3);
Tailwind
colors: {
  custom: {
    50: '#d0a1cf',
    500: '#ba79bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba79bb;
$custom-light: #d0a1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba79bb",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 187
  },
  "hsl": {
    "h": 299.091,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66632,
    "c": 0.11951,
    "h": 326.3
  },
  "luminance": 0.27702
}

Semantic roles & 50–950 ramp

primary
#BA79BB
secondary
#BCD5BB
accent
#AB3A3C
background
#FCFAFC
surface
#F9F3F9
border
#D2CDD2
text
#140F14
muted
#827F82

Preview Lab

Preview with #BA79BB

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

Preview Lab → · Contrast checker → · Palette generator →

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