#BA82DB#BA82DB

#BA82DB is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.6% C 0.139 H 312.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#BA82DB
RGBrgb(186, 130, 219)
HSLhsl(278, 55%, 68%)
HSVhsv(278, 41%, 86%)
CMYKcmyk(15.1%, 40.6%, 0%, 14.1%)
CIE-LABlab(62.94, 37.57, -37.26)
CIE-LCHlch(62.94, 52.91, 315.23°)
OKLaboklab(69.58% 0.0932 -0.1031)
OKLCHoklch(69.58% 0.139 312.1)
XYZxyz(41.0163, 31.5196, 70.9273)
Luminance0.3152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA82DB #A3DB82
analogous
#8D82DB #BA82DB #DB82CF
triadic
#BA82DB #DBBA82 #82DBBA
tetradic
#BA82DB #DB8D82 #A3DB82 #82CFDB
square
#BA82DB #DB8D82 #A3DB82 #82CFDB
split-complementary
#BA82DB #CFDB82 #82DB8D
monochromatic
#8133B0 #A052CD #BA82DB #D4B2E9 #EEE1F6

Accessibility & contrast

On white

2.88
#BA82DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#BA82DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA82DB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA82DB#FFFFFF#000000##000000
##BA82DB1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7195DE
Deuteranopia (green-blind)
#7F9AD8
Tritanopia (blue-blind)
#B78FA4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ba82db;
/* rgb */ color: rgb(186, 130, 219);
/* oklch */ color: oklch(69.6% 0.139 312.1);
Tailwind
colors: {
  custom: {
    50: '#d0a7e6',
    500: '#ba82db',
    950: '#000000',
  },
}
SCSS
$custom: #ba82db;
$custom-light: #d0a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba82db",
  "rgb": {
    "r": 186,
    "g": 130,
    "b": 219
  },
  "hsl": {
    "h": 277.753,
    "s": 55.28,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69575,
    "c": 0.139,
    "h": 312.1
  },
  "luminance": 0.31519
}

Semantic roles & 50–950 ramp

primary
#BA82DB
secondary
#D9EACF
accent
#C3235E
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #BA82DB

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

Preview Lab → · Contrast checker → · Palette generator →

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