#BA80BD#BA80BD

#BA80BD is a light, moderate purple. Relative luminance 0.296; OKLCH L 67.9% C 0.109 H 325.0°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#BA80BD
RGBrgb(186, 128, 189)
HSLhsl(297, 32%, 62%)
HSVhsv(297, 32%, 74%)
CMYKcmyk(1.6%, 32.3%, 0%, 25.9%)
CIE-LABlab(61.27, 32.54, -22.99)
CIE-LCHlch(61.27, 39.85, 324.75°)
OKLaboklab(67.9% 0.0892 -0.0624)
OKLCHoklch(67.9% 0.109 325)
XYZxyz(37.1533, 29.5528, 51.8814)
Luminance0.2955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA80BD #83BD80
analogous
#9C80BD #BA80BD #BD80A2
triadic
#BA80BD #BDBA80 #80BDBA
tetradic
#BA80BD #BD9C80 #83BD80 #80A2BD
square
#BA80BD #BD9C80 #83BD80 #80A2BD
split-complementary
#BA80BD #A2BD80 #80BD9C
monochromatic
#7D4380 #A458A8 #BA80BD #D0A8D2 #E6D1E7

Accessibility & contrast

On white

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

On black

6.91
#BA80BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA80BD
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA80BD#FFFFFF#000000##000000
##BA80BD1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba80bd;
/* rgb */ color: rgb(186, 128, 189);
/* oklch */ color: oklch(67.9% 0.109 325.0);
Tailwind
colors: {
  custom: {
    50: '#cfa5d1',
    500: '#ba80bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba80bd;
$custom-light: #cfa5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba80bd",
  "rgb": {
    "r": 186,
    "g": 128,
    "b": 189
  },
  "hsl": {
    "h": 297.049,
    "s": 31.606,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67903,
    "c": 0.10892,
    "h": 325
  },
  "luminance": 0.29552
}

Semantic roles & 50–950 ramp

primary
#BA80BD
secondary
#C2D8C1
accent
#AA3B41
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#140F14
muted
#827F82

Preview Lab

Preview with #BA80BD

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

Preview Lab → · Contrast checker → · Palette generator →

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