#BA80CD#BA80CD

#BA80CD is a light, vivid purple. Relative luminance 0.303; OKLCH L 68.6% C 0.126 H 317.5°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#BA80CD
RGBrgb(186, 128, 205)
HSLhsl(285, 44%, 65%)
HSVhsv(285, 38%, 80%)
CMYKcmyk(9.3%, 37.6%, 0%, 19.6%)
CIE-LABlab(61.90, 35.73, -31.05)
CIE-LCHlch(61.90, 47.33, 319.01°)
OKLaboklab(68.59% 0.0932 -0.0853)
OKLCHoklch(68.59% 0.126 317.5)
XYZxyz(38.9868, 30.2862, 61.5379)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA80CD #93CD80
analogous
#9380CD #BA80CD #CD80B9
triadic
#BA80CD #CDBA80 #80CDBA
tetradic
#BA80CD #CD9380 #93CD80 #80B9CD
square
#BA80CD #CD9380 #93CD80 #80B9CD
split-complementary
#BA80CD #B9CD80 #80CD93
monochromatic
#813B97 #A254BC #BA80CD #D2ACDE #EAD8F0

Accessibility & contrast

On white

2.98
#BA80CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#BA80CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA80CD
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA80CD#FFFFFF#000000##000000
##BA80CD1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7592D0
Deuteranopia (green-blind)
#8397CB
Tritanopia (blue-blind)
#BA8A9D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ba80cd;
/* rgb */ color: rgb(186, 128, 205);
/* oklch */ color: oklch(68.6% 0.126 317.5);
Tailwind
colors: {
  custom: {
    50: '#d0a6dc',
    500: '#ba80cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba80cd;
$custom-light: #d0a6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba80cd",
  "rgb": {
    "r": 186,
    "g": 128,
    "b": 205
  },
  "hsl": {
    "h": 285.195,
    "s": 43.503,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68592,
    "c": 0.12634,
    "h": 317.5
  },
  "luminance": 0.30285
}

Semantic roles & 50–950 ramp

primary
#BA80CD
secondary
#CEE1C7
accent
#B72F50
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BA80CD

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

Preview Lab → · Contrast checker → · Palette generator →

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