#BA7CD0#BA7CD0

#BA7CD0 is a light, vivid purple. Relative luminance 0.294; OKLCH L 68.1% C 0.137 H 316.9°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#BA7CD0
RGBrgb(186, 124, 208)
HSLhsl(284, 47%, 65%)
HSVhsv(284, 40%, 82%)
CMYKcmyk(10.6%, 40.4%, 0%, 18.4%)
CIE-LABlab(61.14, 38.53, -33.91)
CIE-LCHlch(61.14, 51.33, 318.65°)
OKLaboklab(68.06% 0.0997 -0.0934)
OKLCHoklch(68.06% 0.137 316.9)
XYZxyz(38.8409, 29.4095, 63.2928)
Luminance0.2941 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7CD0 #92D07C
analogous
#907CD0 #BA7CD0 #D07CBC
triadic
#BA7CD0 #D0BA7C #7CD0BA
tetradic
#BA7CD0 #D0907C #92D07C #7CBCD0
square
#BA7CD0 #D0907C #92D07C #7CBCD0
split-complementary
#BA7CD0 #BCD07C #7CD090
monochromatic
#80379A #A24FC0 #BA7CD0 #D2A9E0 #E9D6F0

Accessibility & contrast

On white

3.05
#BA7CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#BA7CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7CD0
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7CD0#FFFFFF#000000##000000
##BA7CD01.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F90D3
Deuteranopia (green-blind)
#7E96CE
Tritanopia (blue-blind)
#BA879C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ba7cd0;
/* rgb */ color: rgb(186, 124, 208);
/* oklch */ color: oklch(68.1% 0.137 316.9);
Tailwind
colors: {
  custom: {
    50: '#d0a3de',
    500: '#ba7cd0',
    950: '#000000',
  },
}
SCSS
$custom: #ba7cd0;
$custom-light: #d0a3de;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7cd0",
  "rgb": {
    "r": 186,
    "g": 124,
    "b": 208
  },
  "hsl": {
    "h": 284.286,
    "s": 47.191,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68061,
    "c": 0.13667,
    "h": 316.9
  },
  "luminance": 0.29408
}

Semantic roles & 50–950 ramp

primary
#BA7CD0
secondary
#CDE2C6
accent
#BA2B51
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BA7CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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