#BA80CB#BA80CB

#BA80CB is a light, vivid purple. Relative luminance 0.302; OKLCH L 68.5% C 0.124 H 318.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#BA80CB
RGBrgb(186, 128, 203)
HSLhsl(286, 42%, 65%)
HSVhsv(286, 37%, 80%)
CMYKcmyk(8.4%, 36.9%, 0%, 20.4%)
CIE-LABlab(61.82, 35.32, -30.05)
CIE-LCHlch(61.82, 46.37, 319.61°)
OKLaboklab(68.5% 0.0928 -0.0824)
OKLCHoklch(68.5% 0.124 318.4)
XYZxyz(38.7469, 30.1903, 60.2746)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA80CB #91CB80
analogous
#9580CB #BA80CB #CB80B6
triadic
#BA80CB #CBBA80 #80CBBA
tetradic
#BA80CB #CB9580 #91CB80 #80B6CB
square
#BA80CB #CB9580 #91CB80 #80B6CB
split-complementary
#BA80CB #B6CB80 #80CB95
monochromatic
#803D94 #A255B9 #BA80CB #D2ABDD #E9D7EF

Accessibility & contrast

On white

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

On black

7.04
#BA80CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA80CB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA80CB#FFFFFF#000000##000000
##BA80CB1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7691CE
Deuteranopia (green-blind)
#8497C9
Tritanopia (blue-blind)
#BA899C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba80cb;
/* rgb */ color: rgb(186, 128, 203);
/* oklch */ color: oklch(68.5% 0.124 318.4);
Tailwind
colors: {
  custom: {
    50: '#d0a6db',
    500: '#ba80cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba80cb;
$custom-light: #d0a6db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba80cb",
  "rgb": {
    "r": 186,
    "g": 128,
    "b": 203
  },
  "hsl": {
    "h": 286.4,
    "s": 41.899,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68502,
    "c": 0.12409,
    "h": 318.4
  },
  "luminance": 0.30189
}

Semantic roles & 50–950 ramp

primary
#BA80CB
secondary
#CCE0C7
accent
#B5314F
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BA80CB

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

Preview Lab → · Contrast checker → · Palette generator →

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