#BA83DC#BA83DC

#BA83DC is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.8% C 0.138 H 311.6°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#BA83DC
RGBrgb(186, 131, 220)
HSLhsl(277, 56%, 69%)
HSVhsv(277, 40%, 86%)
CMYKcmyk(15.5%, 40.5%, 0%, 13.7%)
CIE-LABlab(63.21, 37.23, -37.40)
CIE-LCHlch(63.21, 52.78, 314.87°)
OKLaboklab(69.79% 0.092 -0.1035)
OKLCHoklch(69.79% 0.138 311.6)
XYZxyz(41.2820, 31.8397, 71.6672)
Luminance0.3184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA83DC #A5DC83
analogous
#8E83DC #BA83DC #DC83D2
triadic
#BA83DC #DCBA83 #83DCBA
tetradic
#BA83DC #DC8E83 #A5DC83 #83D2DC
square
#BA83DC #DC8E83 #A5DC83 #83D2DC
split-complementary
#BA83DC #D2DC83 #83DC8E
monochromatic
#8132B2 #9F53CF #BA83DC #D5B3E9 #EFE2F7

Accessibility & contrast

On white

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

On black

7.37
#BA83DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA83DC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA83DC#FFFFFF#000000##000000
##BA83DC1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DF
Deuteranopia (green-blind)
#7F9AD9
Tritanopia (blue-blind)
#B790A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba83dc;
/* rgb */ color: rgb(186, 131, 220);
/* oklch */ color: oklch(69.8% 0.138 311.6);
Tailwind
colors: {
  custom: {
    50: '#d0a8e7',
    500: '#ba83dc',
    950: '#000000',
  },
}
SCSS
$custom: #ba83dc;
$custom-light: #d0a8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba83dc",
  "rgb": {
    "r": 186,
    "g": 131,
    "b": 220
  },
  "hsl": {
    "h": 277.079,
    "s": 55.975,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6979,
    "c": 0.13848,
    "h": 311.6
  },
  "luminance": 0.31839
}

Semantic roles & 50–950 ramp

primary
#BA83DC
secondary
#DAEBD0
accent
#C42260
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BA83DC

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

Preview Lab → · Contrast checker → · Palette generator →

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