#BA79DD#BA79DD

#BA79DD is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.2% C 0.156 H 312.8°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#BA79DD
RGBrgb(186, 121, 221)
HSLhsl(279, 60%, 67%)
HSVhsv(279, 45%, 87%)
CMYKcmyk(15.8%, 45.2%, 0%, 13.3%)
CIE-LABlab(61.08, 42.89, -41.30)
CIE-LCHlch(61.08, 59.55, 316.08°)
OKLaboklab(68.2% 0.1063 -0.1147)
OKLCHoklch(68.2% 0.156 312.8)
XYZxyz(40.1360, 29.3352, 71.9405)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA79DD #9CDD79
analogous
#8879DD #BA79DD #DD79CE
triadic
#BA79DD #DDBA79 #79DDBA
tetradic
#BA79DD #DD8879 #9CDD79 #79CEDD
square
#BA79DD #DD8879 #9CDD79 #79CEDD
split-complementary
#BA79DD #CEDD79 #79DD88
monochromatic
#812CAF #A148D1 #BA79DD #D3AAE9 #ECDBF6

Accessibility & contrast

On white

3.06
#BA79DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#BA79DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA79DD
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA79DD#FFFFFF#000000##000000
##BA79DD1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6490E1
Deuteranopia (green-blind)
#7695DA
Tritanopia (blue-blind)
#B788A1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ba79dd;
/* rgb */ color: rgb(186, 121, 221);
/* oklch */ color: oklch(68.2% 0.156 312.8);
Tailwind
colors: {
  custom: {
    50: '#d0a1e8',
    500: '#ba79dd',
    950: '#000000',
  },
}
SCSS
$custom: #ba79dd;
$custom-light: #d0a1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba79dd",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 279,
    "s": 59.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68204,
    "c": 0.15643,
    "h": 312.8
  },
  "luminance": 0.29334
}

Semantic roles & 50–950 ramp

primary
#BA79DD
secondary
#D4E9C9
accent
#C71E59
background
#FDFAFE
surface
#FAF3FC
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BA79DD

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

Preview Lab → · Contrast checker → · Palette generator →

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