#BA82DD#BA82DD

#BA82DD is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.7% C 0.141 H 311.5°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#BA82DD
RGBrgb(186, 130, 221)
HSLhsl(277, 57%, 69%)
HSVhsv(277, 41%, 87%)
CMYKcmyk(15.8%, 41.2%, 0%, 13.3%)
CIE-LABlab(63.03, 38.00, -38.24)
CIE-LCHlch(63.03, 53.91, 314.82°)
OKLaboklab(69.67% 0.0936 -0.1059)
OKLCHoklch(69.67% 0.141 311.5)
XYZxyz(41.2812, 31.6255, 72.3223)
Luminance0.3162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA82DD #A5DD82
analogous
#8D82DD #BA82DD #DD82D3
triadic
#BA82DD #DDBA82 #82DDBA
tetradic
#BA82DD #DD8D82 #A5DD82 #82D3DD
square
#BA82DD #DD8D82 #A5DD82 #82D3DD
split-complementary
#BA82DD #D3DD82 #82DD8D
monochromatic
#8131B4 #9F52D0 #BA82DD #D5B2EA #EFE2F7

Accessibility & contrast

On white

2.87
#BA82DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#BA82DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA82DD
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA82DD#FFFFFF#000000##000000
##BA82DD1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E0
Deuteranopia (green-blind)
#7E9ADA
Tritanopia (blue-blind)
#B68FA5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ba82dd;
/* rgb */ color: rgb(186, 130, 221);
/* oklch */ color: oklch(69.7% 0.141 311.5);
Tailwind
colors: {
  custom: {
    50: '#d0a7e8',
    500: '#ba82dd',
    950: '#000000',
  },
}
SCSS
$custom: #ba82dd;
$custom-light: #d0a7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba82dd",
  "rgb": {
    "r": 186,
    "g": 130,
    "b": 221
  },
  "hsl": {
    "h": 276.923,
    "s": 57.233,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6967,
    "c": 0.14135,
    "h": 311.5
  },
  "luminance": 0.31625
}

Semantic roles & 50–950 ramp

primary
#BA82DD
secondary
#DAEBD0
accent
#C52160
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #BA82DD

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

Preview Lab → · Contrast checker → · Palette generator →

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