#BA89DB#BA89DB

#BA89DB is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.8% C 0.127 H 310.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#BA89DB
RGBrgb(186, 137, 219)
HSLhsl(276, 53%, 70%)
HSVhsv(276, 37%, 86%)
CMYKcmyk(15.1%, 37.4%, 0%, 14.1%)
CIE-LABlab(64.52, 33.71, -34.81)
CIE-LCHlch(64.52, 48.45, 314.08°)
OKLaboklab(70.76% 0.0831 -0.0961)
OKLCHoklch(70.76% 0.127 310.9)
XYZxyz(41.9793, 33.4455, 71.2483)
Luminance0.3345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA89DB #AADB89
analogous
#9189DB #BA89DB #DB89D3
triadic
#BA89DB #DBBA89 #89DBBA
tetradic
#BA89DB #DB9189 #AADB89 #89D3DB
square
#BA89DB #DB9189 #AADB89 #89D3DB
split-complementary
#BA89DB #D3DB89 #89DB91
monochromatic
#8137B3 #9F5ACD #BA89DB #D5B8E9 #F1E7F8

Accessibility & contrast

On white

2.73
#BA89DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#BA89DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA89DB
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA89DB#FFFFFF#000000##000000
##BA89DB1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9ADE
Deuteranopia (green-blind)
#859DD9
Tritanopia (blue-blind)
#B695A8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba89db;
/* rgb */ color: rgb(186, 137, 219);
/* oklch */ color: oklch(70.8% 0.127 310.9);
Tailwind
colors: {
  custom: {
    50: '#d0ace6',
    500: '#ba89db',
    950: '#000000',
  },
}
SCSS
$custom: #ba89db;
$custom-light: #d0ace6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba89db",
  "rgb": {
    "r": 186,
    "g": 137,
    "b": 219
  },
  "hsl": {
    "h": 275.854,
    "s": 53.247,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70764,
    "c": 0.12706,
    "h": 310.9
  },
  "luminance": 0.33445
}

Semantic roles & 50–950 ramp

primary
#BA89DB
secondary
#DEEBD4
accent
#C12564
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BA89DB

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

Preview Lab → · Contrast checker → · Palette generator →

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