#BA79BD#BA79BD

#BA79BD is a light, vivid purple. Relative luminance 0.278; OKLCH L 66.7% C 0.122 H 325.3°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#BA79BD
RGBrgb(186, 121, 189)
HSLhsl(297, 34%, 61%)
HSVhsv(297, 36%, 74%)
CMYKcmyk(1.6%, 36%, 0%, 25.9%)
CIE-LABlab(59.70, 36.39, -25.40)
CIE-LCHlch(59.70, 44.38, 325.08°)
OKLaboklab(66.72% 0.0999 -0.0692)
OKLCHoklch(66.72% 0.122 325.3)
XYZxyz(36.2715, 27.7894, 51.5875)
Luminance0.2779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA79BD #7CBD79
analogous
#9879BD #BA79BD #BD799E
triadic
#BA79BD #BDBA79 #79BDBA
tetradic
#BA79BD #BD9879 #7CBD79 #799EBD
square
#BA79BD #BD9879 #7CBD79 #799EBD
split-complementary
#BA79BD #9EBD79 #79BD98
monochromatic
#7B3E7E #A352A7 #BA79BD #CFA2D1 #E4CBE5

Accessibility & contrast

On white

3.20
#BA79BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#BA79BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA79BD
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA79BD#FFFFFF#000000##000000
##BA79BD1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#738BC0
Deuteranopia (green-blind)
#8493BB
Tritanopia (blue-blind)
#BD8092
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba79bd;
/* rgb */ color: rgb(186, 121, 189);
/* oklch */ color: oklch(66.7% 0.122 325.3);
Tailwind
colors: {
  custom: {
    50: '#d0a1d1',
    500: '#ba79bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba79bd;
$custom-light: #d0a1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba79bd",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 189
  },
  "hsl": {
    "h": 297.353,
    "s": 34,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66717,
    "c": 0.12154,
    "h": 325.3
  },
  "luminance": 0.27788
}

Semantic roles & 50–950 ramp

primary
#BA79BD
secondary
#BDD6BC
accent
#AD393E
background
#FCFAFC
surface
#F9F3F9
border
#D2CDD2
text
#140F14
muted
#827F82

Preview Lab

Preview with #BA79BD

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

Preview Lab → · Contrast checker → · Palette generator →

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