#BA82CA#BA82CA

#BA82CA is a light, moderate purple. Relative luminance 0.307; OKLCH L 68.8% C 0.119 H 318.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#BA82CA
RGBrgb(186, 130, 202)
HSLhsl(287, 40%, 65%)
HSVhsv(287, 36%, 79%)
CMYKcmyk(7.9%, 35.6%, 0%, 20.8%)
CIE-LABlab(62.23, 34.01, -28.85)
CIE-LCHlch(62.23, 44.60, 319.69°)
OKLaboklab(68.8% 0.0895 -0.079)
OKLCHoklch(68.8% 0.119 318.6)
XYZxyz(38.8915, 30.6697, 59.7368)
Luminance0.3067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA82CA #92CA82
analogous
#9682CA #BA82CA #CA82B6
triadic
#BA82CA #CABA82 #82CABA
tetradic
#BA82CA #CA9682 #92CA82 #82B6CA
square
#BA82CA #CA9682 #92CA82 #82B6CA
split-complementary
#BA82CA #B6CA82 #82CA96
monochromatic
#803E93 #A257B8 #BA82CA #D2ADDC #E9D8EE

Accessibility & contrast

On white

2.94
#BA82CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#BA82CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA82CA
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA82CA#FFFFFF#000000##000000
##BA82CA1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CD
Deuteranopia (green-blind)
#8698C8
Tritanopia (blue-blind)
#BA8B9D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ba82ca;
/* rgb */ color: rgb(186, 130, 202);
/* oklch */ color: oklch(68.8% 0.119 318.6);
Tailwind
colors: {
  custom: {
    50: '#d0a7da',
    500: '#ba82ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba82ca;
$custom-light: #d0a7da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba82ca",
  "rgb": {
    "r": 186,
    "g": 130,
    "b": 202
  },
  "hsl": {
    "h": 286.667,
    "s": 40.449,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68799,
    "c": 0.11943,
    "h": 318.6
  },
  "luminance": 0.30669
}

Semantic roles & 50–950 ramp

primary
#BA82CA
secondary
#CDE0C8
accent
#B3324F
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#140F15
muted
#827F83

Preview Lab

Preview with #BA82CA

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

Preview Lab → · Contrast checker → · Palette generator →

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