#BA80CF#BA80CF

#BA80CF is a light, vivid purple. Relative luminance 0.304; OKLCH L 68.7% C 0.129 H 316.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#BA80CF
RGBrgb(186, 128, 207)
HSLhsl(284, 45%, 66%)
HSVhsv(284, 38%, 81%)
CMYKcmyk(10.1%, 38.2%, 0%, 18.8%)
CIE-LABlab(61.98, 36.14, -32.04)
CIE-LCHlch(61.98, 48.30, 318.44°)
OKLaboklab(68.68% 0.0937 -0.0881)
OKLCHoklch(68.68% 0.129 316.7)
XYZxyz(39.2297, 30.3834, 62.8174)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA80CF #95CF80
analogous
#9280CF #BA80CF #CF80BC
triadic
#BA80CF #CFBA80 #80CFBA
tetradic
#BA80CF #CF9280 #95CF80 #80BCCF
square
#BA80CF #CF9280 #95CF80 #80BCCF
split-complementary
#BA80CF #BCCF80 #80CF92
monochromatic
#813A9A #A254BE #BA80CF #D2ACE0 #EAD9F1

Accessibility & contrast

On white

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

On black

7.08
#BA80CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA80CF
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA80CF#FFFFFF#000000##000000
##BA80CF1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7492D2
Deuteranopia (green-blind)
#8298CD
Tritanopia (blue-blind)
#BA8A9E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ba80cf;
/* rgb */ color: rgb(186, 128, 207);
/* oklch */ color: oklch(68.7% 0.129 316.7);
Tailwind
colors: {
  custom: {
    50: '#d0a6de',
    500: '#ba80cf',
    950: '#000000',
  },
}
SCSS
$custom: #ba80cf;
$custom-light: #d0a6de;
$custom-dark: #000000;
JSON
{
  "hex": "#ba80cf",
  "rgb": {
    "r": 186,
    "g": 128,
    "b": 207
  },
  "hsl": {
    "h": 284.051,
    "s": 45.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68682,
    "c": 0.12859,
    "h": 316.7
  },
  "luminance": 0.30382
}

Semantic roles & 50–950 ramp

primary
#BA80CF
secondary
#CFE3C8
accent
#B82D52
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BA80CF

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

Preview Lab → · Contrast checker → · Palette generator →

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