#BA79F9#BA79F9

#BA79F9 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.7% C 0.189 H 305.5°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#BA79F9
RGBrgb(186, 121, 249)
HSLhsl(270, 91%, 73%)
HSVhsv(270, 51%, 98%)
CMYKcmyk(25.3%, 51.4%, 0%, 2.4%)
CIE-LABlab(62.47, 49.10, -54.64)
CIE-LCHlch(62.47, 73.46, 311.94°)
OKLaboklab(69.69% 0.1095 -0.1535)
OKLCHoklch(69.69% 0.189 305.5)
XYZxyz(44.1823, 30.9537, 93.2512)
Luminance0.3095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA79F9 #B8F979
analogous
#7A79F9 #BA79F9 #F979F8
triadic
#BA79F9 #F9BA79 #79F9BA
tetradic
#BA79F9 #F97A79 #B8F979 #79F8F9
square
#BA79F9 #F97A79 #B8F979 #79F8F9
split-complementary
#BA79F9 #F8F979 #79F97A
monochromatic
#7E0BED #9C3EF6 #BA79F9 #D8B4FC #F0E2FE

Accessibility & contrast

On white

2.92
#BA79F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#BA79F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA79F9
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA79F9#FFFFFF#000000##000000
##BA79F91.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FD
Deuteranopia (green-blind)
#6597F6
Tritanopia (blue-blind)
#B090AE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ba79f9;
/* rgb */ color: rgb(186, 121, 249);
/* oklch */ color: oklch(69.7% 0.189 305.5);
Tailwind
colors: {
  custom: {
    50: '#d2a1fc',
    500: '#ba79f9',
    950: '#000000',
  },
}
SCSS
$custom: #ba79f9;
$custom-light: #d2a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba79f9",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 270.469,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69692,
    "c": 0.18856,
    "h": 305.5
  },
  "luminance": 0.30953
}

Semantic roles & 50–950 ramp

primary
#BA79F9
secondary
#E5F6D5
accent
#E60071
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BA79F9

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

Preview Lab → · Contrast checker → · Palette generator →

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