#BA9DCA#BA9DCA

#BA9DCA is a light, moderate violet. Relative luminance 0.388; OKLCH L 73.7% C 0.071 H 313.5°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#BA9DCA
RGBrgb(186, 157, 202)
HSLhsl(279, 30%, 70%)
HSVhsv(279, 22%, 79%)
CMYKcmyk(7.9%, 22.3%, 0%, 20.8%)
CIE-LABlab(68.62, 19.00, -19.06)
CIE-LCHlch(68.62, 26.91, 314.90°)
OKLaboklab(73.68% 0.049 -0.0517)
OKLCHoklch(73.68% 0.071 313.5)
XYZxyz(42.9656, 38.8178, 61.0948)
Luminance0.3882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9DCA #ADCA9D
analogous
#A39DCA #BA9DCA #CA9DC3
triadic
#BA9DCA #CABA9D #9DCABA
tetradic
#BA9DCA #CAA39D #ADCA9D #9DC3CA
square
#BA9DCA #CAA39D #ADCA9D #9DC3CA
split-complementary
#BA9DCA #C3CA9D #9DCAA3
monochromatic
#80539A #9E75B5 #BA9DCA #D6C5DF #F1EBF4

Accessibility & contrast

On white

2.40
#BA9DCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#BA9DCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9DCA
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9DCA#FFFFFF#000000##000000
##BA9DCA1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A6CC
Deuteranopia (green-blind)
#9DA8C9
Tritanopia (blue-blind)
#B9A2AC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ba9dca;
/* rgb */ color: rgb(186, 157, 202);
/* oklch */ color: oklch(73.7% 0.071 313.5);
Tailwind
colors: {
  custom: {
    50: '#cfbada',
    500: '#ba9dca',
    950: '#000000',
  },
}
SCSS
$custom: #ba9dca;
$custom-light: #cfbada;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9dca",
  "rgb": {
    "r": 186,
    "g": 157,
    "b": 202
  },
  "hsl": {
    "h": 278.667,
    "s": 29.801,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73682,
    "c": 0.07119,
    "h": 313.5
  },
  "luminance": 0.38817
}

Semantic roles & 50–950 ramp

primary
#BA9DCA
secondary
#E0E8DB
accent
#A83D63
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#131114
muted
#828083

Preview Lab

Preview with #BA9DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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