#BA80FD#BA80FD

#BA80FD is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.0% C 0.183 H 303.5°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#BA80FD
RGBrgb(186, 128, 253)
HSLhsl(268, 97%, 75%)
HSVhsv(268, 49%, 99%)
CMYKcmyk(26.5%, 49.4%, 0%, 0.8%)
CIE-LABlab(64.14, 46.28, -54.19)
CIE-LCHlch(64.14, 71.26, 310.50°)
OKLaboklab(71% 0.1008 -0.1522)
OKLCHoklch(71% 0.183 303.5)
XYZxyz(45.6946, 32.9694, 96.8659)
Luminance0.3297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA80FD #C3FD80
analogous
#8085FD #BA80FD #F880FD
triadic
#BA80FD #FDBA80 #80FDBA
tetradic
#BA80FD #FD8085 #C3FD80 #80FDF8
square
#BA80FD #FD8085 #C3FD80 #80FDF8
split-complementary
#BA80FD #FDF880 #85FD80
monochromatic
#7907FB #9944FC #BA80FD #DBBCFE #EFE1FF

Accessibility & contrast

On white

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

On black

7.59
#BA80FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA80FD
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA80FD#FFFFFF#000000##000000
##BA80FD1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba80fd;
/* rgb */ color: rgb(186, 128, 253);
/* oklch */ color: oklch(71.0% 0.183 303.5);
Tailwind
colors: {
  custom: {
    50: '#d1a6fe',
    500: '#ba80fd',
    950: '#000000',
  },
}
SCSS
$custom: #ba80fd;
$custom-light: #d1a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba80fd",
  "rgb": {
    "r": 186,
    "g": 128,
    "b": 253
  },
  "hsl": {
    "h": 267.84,
    "s": 96.899,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70997,
    "c": 0.18255,
    "h": 303.5
  },
  "luminance": 0.32969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA80FD

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

Preview Lab → · Contrast checker → · Palette generator →

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