#BA8BDA#BA8BDA

#BA8BDA is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.1% C 0.122 H 310.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#BA8BDA
RGBrgb(186, 139, 218)
HSLhsl(276, 52%, 70%)
HSVhsv(276, 36%, 85%)
CMYKcmyk(14.7%, 36.2%, 0%, 14.5%)
CIE-LABlab(64.94, 32.38, -33.60)
CIE-LCHlch(64.94, 46.67, 313.94°)
OKLaboklab(71.07% 0.08 -0.0927)
OKLCHoklch(71.07% 0.122 310.8)
XYZxyz(42.1350, 33.9669, 70.6527)
Luminance0.3397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8BDA #ABDA8B
analogous
#928BDA #BA8BDA #DA8BD3
triadic
#BA8BDA #DABA8B #8BDABA
tetradic
#BA8BDA #DA928B #ABDA8B #8BD3DA
square
#BA8BDA #DA928B #ABDA8B #8BD3DA
split-complementary
#BA8BDA #D3DA8B #8BDA92
monochromatic
#8139B2 #9E5DCB #BA8BDA #D6B9E9 #F1E8F8

Accessibility & contrast

On white

2.69
#BA8BDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#BA8BDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8BDA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8BDA#FFFFFF#000000##000000
##BA8BDA1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9BDD
Deuteranopia (green-blind)
#879FD8
Tritanopia (blue-blind)
#B796A8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ba8bda;
/* rgb */ color: rgb(186, 139, 218);
/* oklch */ color: oklch(71.1% 0.122 310.8);
Tailwind
colors: {
  custom: {
    50: '#d0ade5',
    500: '#ba8bda',
    950: '#000000',
  },
}
SCSS
$custom: #ba8bda;
$custom-light: #d0ade5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8bda",
  "rgb": {
    "r": 186,
    "g": 139,
    "b": 218
  },
  "hsl": {
    "h": 275.696,
    "s": 51.634,
    "l": 70
  },
  "oklch": {
    "l": 0.71066,
    "c": 0.12242,
    "h": 310.8
  },
  "luminance": 0.33966
}

Semantic roles & 50–950 ramp

primary
#BA8BDA
secondary
#DEEBD5
accent
#BF2664
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BA8BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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