#BA80FF#BA80FF

#BA80FF is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.1% C 0.185 H 303.1°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#BA80FF
RGBrgb(186, 128, 255)
HSLhsl(267, 100%, 75%)
HSVhsv(267, 50%, 100%)
CMYKcmyk(27.1%, 49.8%, 0%, 0%)
CIE-LABlab(64.24, 46.74, -55.12)
CIE-LCHlch(64.24, 72.27, 310.30°)
OKLaboklab(71.11% 0.101 -0.1549)
OKLCHoklch(71.11% 0.185 303.1)
XYZxyz(46.0149, 33.0975, 98.5526)
Luminance0.3310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA80FF #C5FF80
analogous
#8085FF #BA80FF #FA80FF
triadic
#BA80FF #FFBA80 #80FFBA
tetradic
#BA80FF #FF8085 #C5FF80 #80FFFA
square
#BA80FF #FF8085 #C5FF80 #80FFFA
split-complementary
#BA80FF #FFFA80 #85FF80
monochromatic
#7806FF #9943FF #BA80FF #DBBDFF #EEE0FF

Accessibility & contrast

On white

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

On black

7.62
#BA80FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA80FF
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA80FF#FFFFFF#000000##000000
##BA80FF1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#689BFC
Tritanopia (blue-blind)
#AE97B4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba80ff;
/* rgb */ color: rgb(186, 128, 255);
/* oklch */ color: oklch(71.1% 0.185 303.1);
Tailwind
colors: {
  custom: {
    50: '#d2a6ff',
    500: '#ba80ff',
    950: '#000000',
  },
}
SCSS
$custom: #ba80ff;
$custom-light: #d2a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba80ff",
  "rgb": {
    "r": 186,
    "g": 128,
    "b": 255
  },
  "hsl": {
    "h": 267.402,
    "s": 100,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71108,
    "c": 0.18492,
    "h": 303.1
  },
  "luminance": 0.33097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA80FF

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

Preview Lab → · Contrast checker → · Palette generator →

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