#BA79EE#BA79EE

#BA79EE is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.1% C 0.176 H 308.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#BA79EE
RGBrgb(186, 121, 238)
HSLhsl(273, 77%, 70%)
HSVhsv(273, 49%, 93%)
CMYKcmyk(21.8%, 49.2%, 0%, 6.7%)
CIE-LABlab(61.90, 46.61, -49.46)
CIE-LCHlch(61.90, 67.97, 313.30°)
OKLaboklab(69.09% 0.1085 -0.1384)
OKLCHoklch(69.09% 0.176 308.1)
XYZxyz(42.5167, 30.2874, 84.4786)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA79EE #ADEE79
analogous
#7F79EE #BA79EE #EE79E8
triadic
#BA79EE #EEBA79 #79EEBA
tetradic
#BA79EE #EE7F79 #ADEE79 #79E8EE
square
#BA79EE #EE7F79 #ADEE79 #79E8EE
split-complementary
#BA79EE #E8EE79 #79EE7F
monochromatic
#801BD2 #9E43E7 #BA79EE #D6AFF5 #F1E4FC

Accessibility & contrast

On white

2.98
#BA79EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#BA79EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA79EE
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA79EE#FFFFFF#000000##000000
##BA79EE1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F2
Deuteranopia (green-blind)
#6C96EB
Tritanopia (blue-blind)
#B38DA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ba79ee;
/* rgb */ color: rgb(186, 121, 238);
/* oklch */ color: oklch(69.1% 0.176 308.1);
Tailwind
colors: {
  custom: {
    50: '#d1a1f4',
    500: '#ba79ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba79ee;
$custom-light: #d1a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba79ee",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 238
  },
  "hsl": {
    "h": 273.333,
    "s": 77.483,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69087,
    "c": 0.17588,
    "h": 308.1
  },
  "luminance": 0.30287
}

Semantic roles & 50–950 ramp

primary
#BA79EE
secondary
#E0F1D1
accent
#DA0C67
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BA79EE

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

Preview Lab → · Contrast checker → · Palette generator →

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