#BA83DB#BA83DB

#BA83DB is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.7% C 0.137 H 312.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#BA83DB
RGBrgb(186, 131, 219)
HSLhsl(278, 55%, 69%)
HSVhsv(278, 40%, 86%)
CMYKcmyk(15.1%, 40.2%, 0%, 14.1%)
CIE-LABlab(63.17, 37.02, -36.92)
CIE-LCHlch(63.17, 52.28, 315.08°)
OKLaboklab(69.74% 0.0918 -0.1021)
OKLCHoklch(69.74% 0.137 312)
XYZxyz(41.1500, 31.7869, 70.9718)
Luminance0.3179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA83DB #A4DB83
analogous
#8E83DB #BA83DB #DB83D0
triadic
#BA83DB #DBBA83 #83DBBA
tetradic
#BA83DB #DB8E83 #A4DB83 #83D0DB
square
#BA83DB #DB8E83 #A4DB83 #83D0DB
split-complementary
#BA83DB #D0DB83 #83DB8E
monochromatic
#8133B0 #A054CD #BA83DB #D4B2E9 #EFE2F7

Accessibility & contrast

On white

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

On black

7.36
#BA83DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA83DB
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA83DB#FFFFFF#000000##000000
##BA83DB1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DE
Deuteranopia (green-blind)
#809AD9
Tritanopia (blue-blind)
#B790A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba83db;
/* rgb */ color: rgb(186, 131, 219);
/* oklch */ color: oklch(69.7% 0.137 312.0);
Tailwind
colors: {
  custom: {
    50: '#d0a8e6',
    500: '#ba83db',
    950: '#000000',
  },
}
SCSS
$custom: #ba83db;
$custom-light: #d0a8e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba83db",
  "rgb": {
    "r": 186,
    "g": 131,
    "b": 219
  },
  "hsl": {
    "h": 277.5,
    "s": 55,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69742,
    "c": 0.1373,
    "h": 312
  },
  "luminance": 0.31786
}

Semantic roles & 50–950 ramp

primary
#BA83DB
secondary
#DAEAD0
accent
#C3235F
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BA83DB

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

Preview Lab → · Contrast checker → · Palette generator →

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