#BA80CE#BA80CE

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

Color values

HEX#BA80CE
RGBrgb(186, 128, 206)
HSLhsl(285, 44%, 65%)
HSVhsv(285, 38%, 81%)
CMYKcmyk(9.7%, 37.9%, 0%, 19.2%)
CIE-LABlab(61.94, 35.93, -31.54)
CIE-LCHlch(61.94, 47.81, 318.72°)
OKLaboklab(68.64% 0.0934 -0.0867)
OKLCHoklch(68.64% 0.127 317.1)
XYZxyz(39.1078, 30.3347, 62.1756)
Luminance0.3033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA80CE #94CE80
analogous
#9380CE #BA80CE #CE80BB
triadic
#BA80CE #CEBA80 #80CEBA
tetradic
#BA80CE #CE9380 #94CE80 #80BBCE
square
#BA80CE #CE9380 #94CE80 #80BBCE
split-complementary
#BA80CE #BBCE80 #80CE93
monochromatic
#813B99 #A254BD #BA80CE #D2ACDF #EAD8F0

Accessibility & contrast

On white

2.97
#BA80CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#BA80CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA80CE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA80CE#FFFFFF#000000##000000
##BA80CE1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7492D1
Deuteranopia (green-blind)
#8398CC
Tritanopia (blue-blind)
#BA8A9D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ba80ce;
/* rgb */ color: rgb(186, 128, 206);
/* oklch */ color: oklch(68.6% 0.127 317.1);
Tailwind
colors: {
  custom: {
    50: '#d0a6dd',
    500: '#ba80ce',
    950: '#000000',
  },
}
SCSS
$custom: #ba80ce;
$custom-light: #d0a6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba80ce",
  "rgb": {
    "r": 186,
    "g": 128,
    "b": 206
  },
  "hsl": {
    "h": 284.615,
    "s": 44.318,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68637,
    "c": 0.12746,
    "h": 317.1
  },
  "luminance": 0.30334
}

Semantic roles & 50–950 ramp

primary
#BA80CE
secondary
#CFE2C8
accent
#B72E51
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BA80CE

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

Preview Lab → · Contrast checker → · Palette generator →

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