#BA85DB#BA85DB

#BA85DB is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.1% C 0.134 H 311.6°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#BA85DB
RGBrgb(186, 133, 219)
HSLhsl(277, 54%, 69%)
HSVhsv(277, 39%, 86%)
CMYKcmyk(15.1%, 39.3%, 0%, 14.1%)
CIE-LABlab(63.61, 35.92, -36.22)
CIE-LCHlch(63.61, 51.01, 314.76°)
OKLaboklab(70.08% 0.0889 -0.1001)
OKLCHoklch(70.08% 0.134 311.6)
XYZxyz(41.4212, 32.3293, 71.0622)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA85DB #A6DB85
analogous
#8F85DB #BA85DB #DB85D1
triadic
#BA85DB #DBBA85 #85DBBA
tetradic
#BA85DB #DB8F85 #A6DB85 #85D1DB
square
#BA85DB #DB8F85 #A6DB85 #85D1DB
split-complementary
#BA85DB #D1DB85 #85DB8F
monochromatic
#8134B1 #9F56CD #BA85DB #D5B4E9 #EFE4F7

Accessibility & contrast

On white

2.81
#BA85DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#BA85DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA85DB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA85DB#FFFFFF#000000##000000
##BA85DB1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7597DE
Deuteranopia (green-blind)
#819BD9
Tritanopia (blue-blind)
#B791A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ba85db;
/* rgb */ color: rgb(186, 133, 219);
/* oklch */ color: oklch(70.1% 0.134 311.6);
Tailwind
colors: {
  custom: {
    50: '#d0a9e6',
    500: '#ba85db',
    950: '#000000',
  },
}
SCSS
$custom: #ba85db;
$custom-light: #d0a9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba85db",
  "rgb": {
    "r": 186,
    "g": 133,
    "b": 219
  },
  "hsl": {
    "h": 276.977,
    "s": 54.43,
    "l": 69.02
  },
  "oklch": {
    "l": 0.7008,
    "c": 0.13389,
    "h": 311.6
  },
  "luminance": 0.32329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA85DB

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

Preview Lab → · Contrast checker → · Palette generator →

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