#BA79FD#BA79FD

#BA79FD is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.9% C 0.193 H 304.6°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#BA79FD
RGBrgb(186, 121, 253)
HSLhsl(270, 97%, 73%)
HSVhsv(270, 52%, 99%)
CMYKcmyk(26.5%, 52.2%, 0%, 0.8%)
CIE-LABlab(62.68, 50.01, -56.50)
CIE-LCHlch(62.68, 75.46, 311.51°)
OKLaboklab(69.92% 0.1098 -0.1589)
OKLCHoklch(69.92% 0.193 304.6)
XYZxyz(44.8129, 31.2059, 96.5720)
Luminance0.3121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA79FD #BCFD79
analogous
#797AFD #BA79FD #FC79FD
triadic
#BA79FD #FDBA79 #79FDBA
tetradic
#BA79FD #FD797A #BCFD79 #79FDFC
square
#BA79FD #FD797A #BCFD79 #79FDFC
split-complementary
#BA79FD #FDFC79 #7AFD79
monochromatic
#7C04F8 #9B3DFC #BA79FD #D9B5FE #EFE1FF

Accessibility & contrast

On white

2.90
#BA79FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#BA79FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA79FD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA79FD#FFFFFF#000000##000000
##BA79FD1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D96FF
Deuteranopia (green-blind)
#6298FA
Tritanopia (blue-blind)
#AF91B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ba79fd;
/* rgb */ color: rgb(186, 121, 253);
/* oklch */ color: oklch(69.9% 0.193 304.6);
Tailwind
colors: {
  custom: {
    50: '#d2a1ff',
    500: '#ba79fd',
    950: '#000000',
  },
}
SCSS
$custom: #ba79fd;
$custom-light: #d2a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba79fd",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 253
  },
  "hsl": {
    "h": 269.545,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69918,
    "c": 0.19317,
    "h": 304.6
  },
  "luminance": 0.31206
}

Semantic roles & 50–950 ramp

primary
#BA79FD
secondary
#E6F7D4
accent
#E60074
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BA79FD

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

Preview Lab → · Contrast checker → · Palette generator →

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