#BA79CA#BA79CA

#BA79CA is a light, vivid purple. Relative luminance 0.284; OKLCH L 67.3% C 0.135 H 319.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#BA79CA
RGBrgb(186, 121, 202)
HSLhsl(288, 43%, 63%)
HSVhsv(288, 40%, 79%)
CMYKcmyk(7.9%, 40.1%, 0%, 20.8%)
CIE-LABlab(60.23, 38.94, -31.95)
CIE-LCHlch(60.23, 50.37, 320.64°)
OKLaboklab(67.29% 0.1029 -0.0878)
OKLCHoklch(67.29% 0.135 319.5)
XYZxyz(37.7464, 28.3793, 59.3551)
Luminance0.2838 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA79CA #89CA79
analogous
#9179CA #BA79CA #CA79B1
triadic
#BA79CA #CABA79 #79CABA
tetradic
#BA79CA #CA9179 #89CA79 #79B1CA
square
#BA79CA #CA9179 #89CA79 #79B1CA
split-complementary
#BA79CA #B1CA79 #79CA91
monochromatic
#7F3990 #A34DB9 #BA79CA #D1A5DB #E7D1ED

Accessibility & contrast

On white

3.15
#BA79CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#BA79CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA79CA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA79CA#FFFFFF#000000##000000
##BA79CA1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8DCD
Deuteranopia (green-blind)
#7E94C8
Tritanopia (blue-blind)
#BB8398
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba79ca;
/* rgb */ color: rgb(186, 121, 202);
/* oklch */ color: oklch(67.3% 0.135 319.5);
Tailwind
colors: {
  custom: {
    50: '#d0a1da',
    500: '#ba79ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba79ca;
$custom-light: #d0a1da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba79ca",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 288.148,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67292,
    "c": 0.13526,
    "h": 319.5
  },
  "luminance": 0.28378
}

Semantic roles & 50–950 ramp

primary
#BA79CA
secondary
#C7DEC1
accent
#B62F4A
background
#FCFAFD
surface
#F9F3FA
border
#D2CDD3
text
#140F15
muted
#827F83

Preview Lab

Preview with #BA79CA

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

Preview Lab → · Contrast checker → · Palette generator →

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