#BA80FC#BA80FC

#BA80FC is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.9% C 0.181 H 303.7°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#BA80FC
RGBrgb(186, 128, 252)
HSLhsl(268, 95%, 75%)
HSVhsv(268, 49%, 99%)
CMYKcmyk(26.2%, 49.2%, 0%, 1.2%)
CIE-LABlab(64.08, 46.05, -53.72)
CIE-LCHlch(64.08, 70.75, 310.60°)
OKLaboklab(70.94% 0.1007 -0.1508)
OKLCHoklch(70.94% 0.181 303.7)
XYZxyz(45.5357, 32.9058, 96.0291)
Luminance0.3291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA80FC #C2FC80
analogous
#8084FC #BA80FC #F880FC
triadic
#BA80FC #FCBA80 #80FCBA
tetradic
#BA80FC #FC8084 #C2FC80 #80FCF8
square
#BA80FC #FC8084 #C2FC80 #80FCF8
split-complementary
#BA80FC #FCF880 #84FC80
monochromatic
#7908F9 #9A44FB #BA80FC #DABCFD #EFE1FE

Accessibility & contrast

On white

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

On black

7.58
#BA80FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA80FC
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA80FC#FFFFFF#000000##000000
##BA80FC1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#6A9BF9
Tritanopia (blue-blind)
#AE96B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba80fc;
/* rgb */ color: rgb(186, 128, 252);
/* oklch */ color: oklch(70.9% 0.181 303.7);
Tailwind
colors: {
  custom: {
    50: '#d1a6fe',
    500: '#ba80fc',
    950: '#000000',
  },
}
SCSS
$custom: #ba80fc;
$custom-light: #d1a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba80fc",
  "rgb": {
    "r": 186,
    "g": 128,
    "b": 252
  },
  "hsl": {
    "h": 268.065,
    "s": 95.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70942,
    "c": 0.18136,
    "h": 303.7
  },
  "luminance": 0.32906
}

Semantic roles & 50–950 ramp

primary
#BA80FC
secondary
#E7F7D4
accent
#E6007A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BA80FC

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

Preview Lab → · Contrast checker → · Palette generator →

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