#BA80FA#BA80FA

#BA80FA is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.8% C 0.179 H 304.2°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#BA80FA
RGBrgb(186, 128, 250)
HSLhsl(269, 92%, 74%)
HSVhsv(269, 49%, 98%)
CMYKcmyk(25.6%, 48.8%, 0%, 2%)
CIE-LABlab(63.98, 45.58, -52.79)
CIE-LCHlch(63.98, 69.74, 310.81°)
OKLaboklab(70.83% 0.1005 -0.1481)
OKLCHoklch(70.83% 0.179 304.2)
XYZxyz(45.2205, 32.7797, 94.3688)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA80FA #C0FA80
analogous
#8083FA #BA80FA #F780FA
triadic
#BA80FA #FABA80 #80FABA
tetradic
#BA80FA #FA8083 #C0FA80 #80FAF7
square
#BA80FA #FA8083 #C0FA80 #80FAF7
split-complementary
#BA80FA #FAF780 #83FA80
monochromatic
#7A0AF5 #9A45F8 #BA80FA #DABBFC #EFE2FE

Accessibility & contrast

On white

2.78
#BA80FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#BA80FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA80FA
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA80FA#FFFFFF#000000##000000
##BA80FA1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C99FE
Deuteranopia (green-blind)
#6B9BF7
Tritanopia (blue-blind)
#AF96B1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba80fa;
/* rgb */ color: rgb(186, 128, 250);
/* oklch */ color: oklch(70.8% 0.179 304.2);
Tailwind
colors: {
  custom: {
    50: '#d1a6fc',
    500: '#ba80fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba80fa;
$custom-light: #d1a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba80fa",
  "rgb": {
    "r": 186,
    "g": 128,
    "b": 250
  },
  "hsl": {
    "h": 268.525,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70833,
    "c": 0.17898,
    "h": 304.2
  },
  "luminance": 0.3278
}

Semantic roles & 50–950 ramp

primary
#BA80FA
secondary
#E6F6D5
accent
#E60078
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BA80FA

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

Preview Lab → · Contrast checker → · Palette generator →

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