#BA79DE#BA79DE

#BA79DE is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.3% C 0.158 H 312.5°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#BA79DE
RGBrgb(186, 121, 222)
HSLhsl(279, 60%, 67%)
HSVhsv(279, 45%, 87%)
CMYKcmyk(16.2%, 45.5%, 0%, 12.9%)
CIE-LABlab(61.12, 43.11, -41.79)
CIE-LCHlch(61.12, 60.04, 315.89°)
OKLaboklab(68.25% 0.1065 -0.1161)
OKLCHoklch(68.25% 0.158 312.5)
XYZxyz(40.2696, 29.3886, 72.6443)
Luminance0.2939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA79DE #9DDE79
analogous
#8879DE #BA79DE #DE79CF
triadic
#BA79DE #DEBA79 #79DEBA
tetradic
#BA79DE #DE8879 #9DDE79 #79CFDE
square
#BA79DE #DE8879 #9DDE79 #79CFDE
split-complementary
#BA79DE #CFDE79 #79DE88
monochromatic
#812CB1 #A148D2 #BA79DE #D3AAEA #EDDBF6

Accessibility & contrast

On white

3.05
#BA79DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#BA79DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA79DE
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA79DE#FFFFFF#000000##000000
##BA79DE1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6490E2
Deuteranopia (green-blind)
#7595DB
Tritanopia (blue-blind)
#B788A1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ba79de;
/* rgb */ color: rgb(186, 121, 222);
/* oklch */ color: oklch(68.3% 0.158 312.5);
Tailwind
colors: {
  custom: {
    50: '#d0a1e8',
    500: '#ba79de',
    950: '#000000',
  },
}
SCSS
$custom: #ba79de;
$custom-light: #d0a1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba79de",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 222
  },
  "hsl": {
    "h": 278.614,
    "s": 60.479,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68254,
    "c": 0.15756,
    "h": 312.5
  },
  "luminance": 0.29388
}

Semantic roles & 50–950 ramp

primary
#BA79DE
secondary
#D5E9C9
accent
#C81D5A
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BA79DE

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

Preview Lab → · Contrast checker → · Palette generator →

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