#BA80BC#BA80BC

#BA80BC is a light, moderate purple. Relative luminance 0.295; OKLCH L 67.9% C 0.108 H 325.6°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#BA80BC
RGBrgb(186, 128, 188)
HSLhsl(298, 31%, 62%)
HSVhsv(298, 32%, 74%)
CMYKcmyk(1.1%, 31.9%, 0%, 26.3%)
CIE-LABlab(61.23, 32.35, -22.48)
CIE-LCHlch(61.23, 39.40, 325.20°)
OKLaboklab(67.86% 0.089 -0.061)
OKLCHoklch(67.86% 0.108 325.6)
XYZxyz(37.0451, 29.5096, 51.3117)
Luminance0.2951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA80BC #82BC80
analogous
#9C80BC #BA80BC #BC80A0
triadic
#BA80BC #BCBA80 #80BCBA
tetradic
#BA80BC #BC9C80 #82BC80 #80A0BC
square
#BA80BC #BC9C80 #82BC80 #80A0BC
split-complementary
#BA80BC #A0BC80 #80BC9C
monochromatic
#7D437F #A458A7 #BA80BC #D0A8D1 #E6D0E6

Accessibility & contrast

On white

3.04
#BA80BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#BA80BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA80BC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA80BC#FFFFFF#000000##000000
##BA80BC1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8FBE
Deuteranopia (green-blind)
#8996BA
Tritanopia (blue-blind)
#BD8696
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ba80bc;
/* rgb */ color: rgb(186, 128, 188);
/* oklch */ color: oklch(67.9% 0.108 325.6);
Tailwind
colors: {
  custom: {
    50: '#cfa5d0',
    500: '#ba80bc',
    950: '#000000',
  },
}
SCSS
$custom: #ba80bc;
$custom-light: #cfa5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba80bc",
  "rgb": {
    "r": 186,
    "g": 128,
    "b": 188
  },
  "hsl": {
    "h": 298,
    "s": 30.928,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67862,
    "c": 0.10788,
    "h": 325.6
  },
  "luminance": 0.29508
}

Semantic roles & 50–950 ramp

primary
#BA80BC
secondary
#C2D7C1
accent
#AA3C40
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#140F14
muted
#827F82

Preview Lab

Preview with #BA80BC

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

Preview Lab → · Contrast checker → · Palette generator →

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