#BA79CD#BA79CD

#BA79CD is a light, vivid purple. Relative luminance 0.285; OKLCH L 67.4% C 0.139 H 318.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#BA79CD
RGBrgb(186, 121, 205)
HSLhsl(286, 46%, 64%)
HSVhsv(286, 41%, 80%)
CMYKcmyk(9.3%, 41%, 0%, 19.6%)
CIE-LABlab(60.36, 39.55, -33.44)
CIE-LCHlch(60.36, 51.79, 319.78°)
OKLaboklab(67.43% 0.1035 -0.0921)
OKLCHoklch(67.43% 0.139 318.3)
XYZxyz(38.1050, 28.5228, 61.2440)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA79CD #8CCD79
analogous
#9079CD #BA79CD #CD79B6
triadic
#BA79CD #CDBA79 #79CDBA
tetradic
#BA79CD #CD9079 #8CCD79 #79B6CD
square
#BA79CD #CD9079 #8CCD79 #79B6CD
split-complementary
#BA79CD #B6CD79 #79CD90
monochromatic
#7F3794 #A34CBC #BA79CD #D1A6DE #E8D2EE

Accessibility & contrast

On white

3.13
#BA79CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#BA79CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA79CD
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA79CD#FFFFFF#000000##000000
##BA79CD1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8DD0
Deuteranopia (green-blind)
#7D94CA
Tritanopia (blue-blind)
#BA8499
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba79cd;
/* rgb */ color: rgb(186, 121, 205);
/* oklch */ color: oklch(67.4% 0.139 318.3);
Tailwind
colors: {
  custom: {
    50: '#d0a1dc',
    500: '#ba79cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba79cd;
$custom-light: #d0a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba79cd",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 286.429,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6743,
    "c": 0.13854,
    "h": 318.3
  },
  "luminance": 0.28522
}

Semantic roles & 50–950 ramp

primary
#BA79CD
secondary
#C9E0C2
accent
#B92D4C
background
#FCFAFD
surface
#F9F3FB
border
#D2CDD4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BA79CD

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

Preview Lab → · Contrast checker → · Palette generator →

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