#BA79BF#BA79BF

#BA79BF is a light, vivid purple. Relative luminance 0.279; OKLCH L 66.8% C 0.124 H 324.3°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#BA79BF
RGBrgb(186, 121, 191)
HSLhsl(296, 35%, 61%)
HSVhsv(296, 37%, 75%)
CMYKcmyk(2.6%, 36.6%, 0%, 25.1%)
CIE-LABlab(59.78, 36.77, -26.42)
CIE-LCHlch(59.78, 45.28, 324.31°)
OKLaboklab(66.8% 0.1004 -0.0721)
OKLCHoklch(66.8% 0.124 324.3)
XYZxyz(36.4901, 27.8768, 52.7387)
Luminance0.2787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA79BF #7EBF79
analogous
#9779BF #BA79BF #BF79A1
triadic
#BA79BF #BFBA79 #79BFBA
tetradic
#BA79BF #BF9779 #7EBF79 #79A1BF
square
#BA79BF #BF9779 #7EBF79 #79A1BF
split-complementary
#BA79BF #A1BF79 #79BF97
monochromatic
#7C3D80 #A351AA #BA79BF #CFA2D3 #E5CCE7

Accessibility & contrast

On white

3.19
#BA79BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#BA79BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA79BF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA79BF#FFFFFF#000000##000000
##BA79BF1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#728BC2
Deuteranopia (green-blind)
#8393BD
Tritanopia (blue-blind)
#BD8093
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba79bf;
/* rgb */ color: rgb(186, 121, 191);
/* oklch */ color: oklch(66.8% 0.124 324.3);
Tailwind
colors: {
  custom: {
    50: '#d0a1d2',
    500: '#ba79bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba79bf;
$custom-light: #d0a1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba79bf",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 191
  },
  "hsl": {
    "h": 295.714,
    "s": 35.354,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66802,
    "c": 0.12359,
    "h": 324.3
  },
  "luminance": 0.27875
}

Semantic roles & 50–950 ramp

primary
#BA79BF
secondary
#BFD7BD
accent
#AE3740
background
#FCFAFC
surface
#F9F3F9
border
#D2CDD2
text
#140F14
muted
#827F82

Preview Lab

Preview with #BA79BF

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

Preview Lab → · Contrast checker → · Palette generator →

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