#BA79ED#BA79ED

#BA79ED is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.0% C 0.175 H 308.4°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#BA79ED
RGBrgb(186, 121, 237)
HSLhsl(274, 76%, 70%)
HSVhsv(274, 49%, 93%)
CMYKcmyk(21.5%, 48.9%, 0%, 7.1%)
CIE-LABlab(61.85, 46.39, -48.99)
CIE-LCHlch(61.85, 67.47, 313.44°)
OKLaboklab(69.03% 0.1084 -0.137)
OKLCHoklch(69.03% 0.175 308.4)
XYZxyz(42.3702, 30.2288, 83.7070)
Luminance0.3023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA79ED #ACED79
analogous
#8079ED #BA79ED #ED79E6
triadic
#BA79ED #EDBA79 #79EDBA
tetradic
#BA79ED #ED8079 #ACED79 #79E6ED
square
#BA79ED #ED8079 #ACED79 #79E6ED
split-complementary
#BA79ED #E6ED79 #79ED80
monochromatic
#811CD0 #9E43E6 #BA79ED #D6AFF4 #F1E4FB

Accessibility & contrast

On white

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

On black

7.05
#BA79ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA79ED
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA79ED#FFFFFF#000000##000000
##BA79ED1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A93F1
Deuteranopia (green-blind)
#6D96EA
Tritanopia (blue-blind)
#B38DA8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba79ed;
/* rgb */ color: rgb(186, 121, 237);
/* oklch */ color: oklch(69.0% 0.175 308.4);
Tailwind
colors: {
  custom: {
    50: '#d1a1f3',
    500: '#ba79ed',
    950: '#000000',
  },
}
SCSS
$custom: #ba79ed;
$custom-light: #d1a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba79ed",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 237
  },
  "hsl": {
    "h": 273.621,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69034,
    "c": 0.17473,
    "h": 308.4
  },
  "luminance": 0.30228
}

Semantic roles & 50–950 ramp

primary
#BA79ED
secondary
#DFF1D1
accent
#D90D66
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BA79ED

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

Preview Lab → · Contrast checker → · Palette generator →

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