#BA80FE#BA80FE

#BA80FE is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.1% C 0.184 H 303.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#BA80FE
RGBrgb(186, 128, 254)
HSLhsl(268, 98%, 75%)
HSVhsv(268, 50%, 100%)
CMYKcmyk(26.8%, 49.6%, 0%, 0.4%)
CIE-LABlab(64.19, 46.51, -54.65)
CIE-LCHlch(64.19, 71.77, 310.40°)
OKLaboklab(71.05% 0.1009 -0.1536)
OKLCHoklch(71.05% 0.184 303.3)
XYZxyz(45.8543, 33.0333, 97.7071)
Luminance0.3303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA80FE #C4FE80
analogous
#8085FE #BA80FE #F980FE
triadic
#BA80FE #FEBA80 #80FEBA
tetradic
#BA80FE #FE8085 #C4FE80 #80FEF9
square
#BA80FE #FE8085 #C4FE80 #80FEF9
split-complementary
#BA80FE #FEF980 #85FE80
monochromatic
#7807FD #9943FE #BA80FE #DBBDFE #EFE1FF

Accessibility & contrast

On white

2.76
#BA80FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#BA80FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA80FE
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA80FE#FFFFFF#000000##000000
##BA80FE1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#699BFB
Tritanopia (blue-blind)
#AE97B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba80fe;
/* rgb */ color: rgb(186, 128, 254);
/* oklch */ color: oklch(71.1% 0.184 303.3);
Tailwind
colors: {
  custom: {
    50: '#d2a6ff',
    500: '#ba80fe',
    950: '#000000',
  },
}
SCSS
$custom: #ba80fe;
$custom-light: #d2a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba80fe",
  "rgb": {
    "r": 186,
    "g": 128,
    "b": 254
  },
  "hsl": {
    "h": 267.619,
    "s": 98.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71052,
    "c": 0.18373,
    "h": 303.3
  },
  "luminance": 0.33033
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA80FE

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

Preview Lab → · Contrast checker → · Palette generator →

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