#BA80DB#BA80DB

#BA80DB is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.2% C 0.142 H 312.4°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#BA80DB
RGBrgb(186, 128, 219)
HSLhsl(278, 56%, 68%)
HSVhsv(278, 42%, 86%)
CMYKcmyk(15.1%, 41.6%, 0%, 14.1%)
CIE-LABlab(62.50, 38.66, -37.95)
CIE-LCHlch(62.50, 54.18, 315.53°)
OKLaboklab(69.24% 0.0961 -0.1051)
OKLCHoklch(69.24% 0.142 312.4)
XYZxyz(40.7529, 30.9927, 70.8395)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA80DB #A1DB80
analogous
#8C80DB #BA80DB #DB80CE
triadic
#BA80DB #DBBA80 #80DBBA
tetradic
#BA80DB #DB8C80 #A1DB80 #80CEDB
square
#BA80DB #DB8C80 #A1DB80 #80CEDB
split-complementary
#BA80DB #CEDB80 #80DB8C
monochromatic
#8232AF #A050CD #BA80DB #D4B0E9 #EEDFF6

Accessibility & contrast

On white

2.92
#BA80DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#BA80DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA80DB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA80DB#FFFFFF#000000##000000
##BA80DB1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E94DE
Deuteranopia (green-blind)
#7D99D8
Tritanopia (blue-blind)
#B78DA3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ba80db;
/* rgb */ color: rgb(186, 128, 219);
/* oklch */ color: oklch(69.2% 0.142 312.4);
Tailwind
colors: {
  custom: {
    50: '#d0a6e6',
    500: '#ba80db',
    950: '#000000',
  },
}
SCSS
$custom: #ba80db;
$custom-light: #d0a6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba80db",
  "rgb": {
    "r": 186,
    "g": 128,
    "b": 219
  },
  "hsl": {
    "h": 278.242,
    "s": 55.828,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69242,
    "c": 0.14238,
    "h": 312.4
  },
  "luminance": 0.30992
}

Semantic roles & 50–950 ramp

primary
#BA80DB
secondary
#D8E9CD
accent
#C3225D
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #BA80DB

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

Preview Lab → · Contrast checker → · Palette generator →

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