#BA80FB#BA80FB

#BA80FB is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.9% C 0.180 H 303.9°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#BA80FB
RGBrgb(186, 128, 251)
HSLhsl(268, 94%, 74%)
HSVhsv(268, 49%, 98%)
CMYKcmyk(25.9%, 49%, 0%, 1.6%)
CIE-LABlab(64.03, 45.81, -53.25)
CIE-LCHlch(64.03, 70.25, 310.71°)
OKLaboklab(70.89% 0.1006 -0.1495)
OKLCHoklch(70.89% 0.18 303.9)
XYZxyz(45.3777, 32.8426, 95.1967)
Luminance0.3284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA80FB #C1FB80
analogous
#8084FB #BA80FB #F880FB
triadic
#BA80FB #FBBA80 #80FBBA
tetradic
#BA80FB #FB8084 #C1FB80 #80FBF8
square
#BA80FB #FB8084 #C1FB80 #80FBF8
split-complementary
#BA80FB #FBF880 #84FB80
monochromatic
#7A09F7 #9A45F9 #BA80FB #DABBFD #EFE1FE

Accessibility & contrast

On white

2.77
#BA80FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#BA80FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA80FB
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA80FB#FFFFFF#000000##000000
##BA80FB1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#6B9BF8
Tritanopia (blue-blind)
#AF96B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba80fb;
/* rgb */ color: rgb(186, 128, 251);
/* oklch */ color: oklch(70.9% 0.180 303.9);
Tailwind
colors: {
  custom: {
    50: '#d1a6fd',
    500: '#ba80fb',
    950: '#000000',
  },
}
SCSS
$custom: #ba80fb;
$custom-light: #d1a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba80fb",
  "rgb": {
    "r": 186,
    "g": 128,
    "b": 251
  },
  "hsl": {
    "h": 268.293,
    "s": 93.893,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70887,
    "c": 0.18017,
    "h": 303.9
  },
  "luminance": 0.32842
}

Semantic roles & 50–950 ramp

primary
#BA80FB
secondary
#E6F6D5
accent
#E60079
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BA80FB

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

Preview Lab → · Contrast checker → · Palette generator →

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