#BA82CE#BA82CE

#BA82CE is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.0% C 0.124 H 316.9°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#BA82CE
RGBrgb(186, 130, 206)
HSLhsl(284, 44%, 66%)
HSVhsv(284, 37%, 81%)
CMYKcmyk(9.7%, 36.9%, 0%, 19.2%)
CIE-LABlab(62.39, 34.83, -30.85)
CIE-LCHlch(62.39, 46.53, 318.47°)
OKLaboklab(68.98% 0.0905 -0.0847)
OKLCHoklch(68.98% 0.124 316.9)
XYZxyz(39.3713, 30.8616, 62.2634)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA82CE #96CE82
analogous
#9482CE #BA82CE #CE82BC
triadic
#BA82CE #CEBA82 #82CEBA
tetradic
#BA82CE #CE9482 #96CE82 #82BCCE
square
#BA82CE #CE9482 #96CE82 #82BCCE
split-complementary
#BA82CE #BCCE82 #82CE94
monochromatic
#813C99 #A256BD #BA82CE #D2AEDF #EBDAF0

Accessibility & contrast

On white

2.93
#BA82CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#BA82CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA82CE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA82CE#FFFFFF#000000##000000
##BA82CE1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793D1
Deuteranopia (green-blind)
#8499CC
Tritanopia (blue-blind)
#BA8C9E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ba82ce;
/* rgb */ color: rgb(186, 130, 206);
/* oklch */ color: oklch(69.0% 0.124 316.9);
Tailwind
colors: {
  custom: {
    50: '#d0a7dd',
    500: '#ba82ce',
    950: '#000000',
  },
}
SCSS
$custom: #ba82ce;
$custom-light: #d0a7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba82ce",
  "rgb": {
    "r": 186,
    "g": 130,
    "b": 206
  },
  "hsl": {
    "h": 284.211,
    "s": 43.678,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68976,
    "c": 0.12395,
    "h": 316.9
  },
  "luminance": 0.30861
}

Semantic roles & 50–950 ramp

primary
#BA82CE
secondary
#D0E2C9
accent
#B72F53
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BA82CE

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

Preview Lab → · Contrast checker → · Palette generator →

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