#BA82BD#BA82BD

#BA82BD is a light, moderate purple. Relative luminance 0.301; OKLCH L 68.3% C 0.105 H 324.9°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#BA82BD
RGBrgb(186, 130, 189)
HSLhsl(297, 31%, 63%)
HSVhsv(297, 31%, 74%)
CMYKcmyk(1.6%, 31.2%, 0%, 25.9%)
CIE-LABlab(61.72, 31.44, -22.29)
CIE-LCHlch(61.72, 38.54, 324.65°)
OKLaboklab(68.25% 0.0862 -0.0605)
OKLCHoklch(68.25% 0.105 324.9)
XYZxyz(37.4167, 30.0797, 51.9692)
Luminance0.3008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA82BD #85BD82
analogous
#9C82BD #BA82BD #BD82A3
triadic
#BA82BD #BDBA82 #82BDBA
tetradic
#BA82BD #BD9C82 #85BD82 #82A3BD
square
#BA82BD #BD9C82 #85BD82 #82A3BD
split-complementary
#BA82BD #A3BD82 #82BD9C
monochromatic
#7E4481 #A45AA8 #BA82BD #D0AAD2 #E6D2E7

Accessibility & contrast

On white

2.99
#BA82BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#BA82BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA82BD
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA82BD#FFFFFF#000000##000000
##BA82BD1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D91BF
Deuteranopia (green-blind)
#8B98BB
Tritanopia (blue-blind)
#BD8897
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba82bd;
/* rgb */ color: rgb(186, 130, 189);
/* oklch */ color: oklch(68.3% 0.105 324.9);
Tailwind
colors: {
  custom: {
    50: '#cfa7d1',
    500: '#ba82bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba82bd;
$custom-light: #cfa7d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba82bd",
  "rgb": {
    "r": 186,
    "g": 130,
    "b": 189
  },
  "hsl": {
    "h": 296.949,
    "s": 30.89,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6825,
    "c": 0.1053,
    "h": 324.9
  },
  "luminance": 0.30078
}

Semantic roles & 50–950 ramp

primary
#BA82BD
secondary
#C4D8C3
accent
#AA3C41
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#140F14
muted
#827F82

Preview Lab

Preview with #BA82BD

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

Preview Lab → · Contrast checker → · Palette generator →

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