#BA7BDA#BA7BDA

#BA7BDA is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.4% C 0.150 H 313.5°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#BA7BDA
RGBrgb(186, 123, 218)
HSLhsl(280, 56%, 67%)
HSVhsv(280, 44%, 85%)
CMYKcmyk(14.7%, 43.6%, 0%, 14.5%)
CIE-LABlab(61.37, 41.17, -39.17)
CIE-LCHlch(61.37, 56.83, 316.43°)
OKLaboklab(68.38% 0.103 -0.1086)
OKLCHoklch(68.38% 0.15 313.5)
XYZxyz(39.9855, 29.6679, 69.9362)
Luminance0.2967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7BDA #9BDA7B
analogous
#8B7BDA #BA7BDA #DA7BCB
triadic
#BA7BDA #DABA7B #7BDABA
tetradic
#BA7BDA #DA8B7B #9BDA7B #7BCBDA
square
#BA7BDA #DA8B7B #9BDA7B #7BCBDA
split-complementary
#BA7BDA #CBDA7B #7BDA8B
monochromatic
#8130AB #A14BCD #BA7BDA #D3ABE7 #ECDBF5

Accessibility & contrast

On white

3.03
#BA7BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#BA7BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7BDA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7BDA#FFFFFF#000000##000000
##BA7BDA1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6891DD
Deuteranopia (green-blind)
#7996D7
Tritanopia (blue-blind)
#B789A0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ba7bda;
/* rgb */ color: rgb(186, 123, 218);
/* oklch */ color: oklch(68.4% 0.150 313.5);
Tailwind
colors: {
  custom: {
    50: '#d0a2e6',
    500: '#ba7bda',
    950: '#000000',
  },
}
SCSS
$custom: #ba7bda;
$custom-light: #d0a2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7bda",
  "rgb": {
    "r": 186,
    "g": 123,
    "b": 218
  },
  "hsl": {
    "h": 279.789,
    "s": 56.213,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68376,
    "c": 0.14968,
    "h": 313.5
  },
  "luminance": 0.29667
}

Semantic roles & 50–950 ramp

primary
#BA7BDA
secondary
#D3E8C9
accent
#C42258
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #BA7BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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