#BA83DD#BA83DD

#BA83DD is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.8% C 0.140 H 311.3°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#BA83DD
RGBrgb(186, 131, 221)
HSLhsl(277, 57%, 69%)
HSVhsv(277, 41%, 87%)
CMYKcmyk(15.8%, 40.7%, 0%, 13.3%)
CIE-LABlab(63.25, 37.45, -37.89)
CIE-LCHlch(63.25, 53.28, 314.66°)
OKLaboklab(69.84% 0.0922 -0.1049)
OKLCHoklch(69.84% 0.14 311.3)
XYZxyz(41.4149, 31.8928, 72.3668)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA83DD #A6DD83
analogous
#8D83DD #BA83DD #DD83D3
triadic
#BA83DD #DDBA83 #83DDBA
tetradic
#BA83DD #DD8D83 #A6DD83 #83D3DD
square
#BA83DD #DD8D83 #A6DD83 #83D3DD
split-complementary
#BA83DD #D3DD83 #83DD8D
monochromatic
#8131B4 #9F53D0 #BA83DD #D5B3EA #EFE3F7

Accessibility & contrast

On white

2.85
#BA83DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#BA83DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA83DD
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA83DD#FFFFFF#000000##000000
##BA83DD1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196E0
Deuteranopia (green-blind)
#7F9ADA
Tritanopia (blue-blind)
#B690A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba83dd;
/* rgb */ color: rgb(186, 131, 221);
/* oklch */ color: oklch(69.8% 0.140 311.3);
Tailwind
colors: {
  custom: {
    50: '#d0a8e8',
    500: '#ba83dd',
    950: '#000000',
  },
}
SCSS
$custom: #ba83dd;
$custom-light: #d0a8e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba83dd",
  "rgb": {
    "r": 186,
    "g": 131,
    "b": 221
  },
  "hsl": {
    "h": 276.667,
    "s": 56.962,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69837,
    "c": 0.13965,
    "h": 311.3
  },
  "luminance": 0.31892
}

Semantic roles & 50–950 ramp

primary
#BA83DD
secondary
#DBEBD1
accent
#C52161
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BA83DD

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

Preview Lab → · Contrast checker → · Palette generator →

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