#BA84CD#BA84CD

#BA84CD is a light, moderate purple. Relative luminance 0.313; OKLCH L 69.3% C 0.119 H 317.0°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#BA84CD
RGBrgb(186, 132, 205)
HSLhsl(284, 42%, 66%)
HSVhsv(284, 36%, 80%)
CMYKcmyk(9.3%, 35.6%, 0%, 19.6%)
CIE-LABlab(62.80, 33.52, -29.65)
CIE-LCHlch(62.80, 44.75, 318.51°)
OKLaboklab(69.27% 0.0873 -0.0813)
OKLCHoklch(69.27% 0.119 317)
XYZxyz(39.5188, 31.3504, 61.7152)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA84CD #97CD84
analogous
#9584CD #BA84CD #CD84BB
triadic
#BA84CD #CDBA84 #84CDBA
tetradic
#BA84CD #CD9584 #97CD84 #84BBCD
square
#BA84CD #CD9584 #97CD84 #84BBCD
split-complementary
#BA84CD #BBCD84 #84CD95
monochromatic
#813E99 #A258BB #BA84CD #D2B0DF #EBDBF0

Accessibility & contrast

On white

2.89
#BA84CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#BA84CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA84CD
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA84CD#FFFFFF#000000##000000
##BA84CD1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994D0
Deuteranopia (green-blind)
#869ACB
Tritanopia (blue-blind)
#BA8D9F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ba84cd;
/* rgb */ color: rgb(186, 132, 205);
/* oklch */ color: oklch(69.3% 0.119 317.0);
Tailwind
colors: {
  custom: {
    50: '#d0a8dc',
    500: '#ba84cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba84cd;
$custom-light: #d0a8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba84cd",
  "rgb": {
    "r": 186,
    "g": 132,
    "b": 205
  },
  "hsl": {
    "h": 284.384,
    "s": 42.197,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69274,
    "c": 0.11929,
    "h": 317
  },
  "luminance": 0.31349
}

Semantic roles & 50–950 ramp

primary
#BA84CD
secondary
#D1E2CA
accent
#B53053
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA84CD

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

Preview Lab → · Contrast checker → · Palette generator →

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