#BA79BC#BA79BC

#BA79BC is a light, vivid purple. Relative luminance 0.277; OKLCH L 66.7% C 0.121 H 325.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#BA79BC
RGBrgb(186, 121, 188)
HSLhsl(298, 33%, 61%)
HSVhsv(298, 36%, 74%)
CMYKcmyk(1.1%, 35.6%, 0%, 26.3%)
CIE-LABlab(59.66, 36.19, -24.89)
CIE-LCHlch(59.66, 43.93, 325.48°)
OKLaboklab(66.67% 0.0997 -0.0677)
OKLCHoklch(66.67% 0.121 325.8)
XYZxyz(36.1633, 27.7461, 51.0178)
Luminance0.2774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA79BC #7BBC79
analogous
#9879BC #BA79BC #BC799C
triadic
#BA79BC #BCBA79 #79BCBA
tetradic
#BA79BC #BC9879 #7BBC79 #799CBC
square
#BA79BC #BC9879 #7BBC79 #799CBC
split-complementary
#BA79BC #9CBC79 #79BC98
monochromatic
#7B3E7C #A353A5 #BA79BC #CFA2D0 #E4CBE5

Accessibility & contrast

On white

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

On black

6.55
#BA79BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA79BC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA79BC#FFFFFF#000000##000000
##BA79BC1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#738BBE
Deuteranopia (green-blind)
#8493BA
Tritanopia (blue-blind)
#BE7F92
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba79bc;
/* rgb */ color: rgb(186, 121, 188);
/* oklch */ color: oklch(66.7% 0.121 325.8);
Tailwind
colors: {
  custom: {
    50: '#d0a1d0',
    500: '#ba79bc',
    950: '#000000',
  },
}
SCSS
$custom: #ba79bc;
$custom-light: #d0a1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba79bc",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 188
  },
  "hsl": {
    "h": 298.209,
    "s": 33.333,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66674,
    "c": 0.12052,
    "h": 325.8
  },
  "luminance": 0.27745
}

Semantic roles & 50–950 ramp

primary
#BA79BC
secondary
#BCD5BC
accent
#AC393D
background
#FCFAFC
surface
#F9F3F9
border
#D2CDD2
text
#140F14
muted
#827F82

Preview Lab

Preview with #BA79BC

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

Preview Lab → · Contrast checker → · Palette generator →

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