#BA7CD3#BA7CD3

#BA7CD3 is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.2% C 0.140 H 315.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#BA7CD3
RGBrgb(186, 124, 211)
HSLhsl(283, 50%, 66%)
HSVhsv(283, 41%, 83%)
CMYKcmyk(11.8%, 41.2%, 0%, 17.3%)
CIE-LABlab(61.27, 39.16, -35.40)
CIE-LCHlch(61.27, 52.78, 317.89°)
OKLaboklab(68.2% 0.1003 -0.0977)
OKLCHoklch(68.2% 0.14 315.8)
XYZxyz(39.2134, 29.5585, 65.2551)
Luminance0.2956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7CD3 #95D37C
analogous
#8E7CD3 #BA7CD3 #D37CC0
triadic
#BA7CD3 #D3BA7C #7CD3BA
tetradic
#BA7CD3 #D38E7C #95D37C #7CC0D3
square
#BA7CD3 #D38E7C #95D37C #7CC0D3
split-complementary
#BA7CD3 #C0D37C #7CD38E
monochromatic
#81359F #A24EC4 #BA7CD3 #D2AAE2 #EAD8F2

Accessibility & contrast

On white

3.04
#BA7CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#BA7CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7CD3
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7CD3#FFFFFF#000000##000000
##BA7CD31.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D90D6
Deuteranopia (green-blind)
#7D96D0
Tritanopia (blue-blind)
#B9889E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ba7cd3;
/* rgb */ color: rgb(186, 124, 211);
/* oklch */ color: oklch(68.2% 0.140 315.8);
Tailwind
colors: {
  custom: {
    50: '#d0a3e1',
    500: '#ba7cd3',
    950: '#000000',
  },
}
SCSS
$custom: #ba7cd3;
$custom-light: #d0a3e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7cd3",
  "rgb": {
    "r": 186,
    "g": 124,
    "b": 211
  },
  "hsl": {
    "h": 282.759,
    "s": 49.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68202,
    "c": 0.14003,
    "h": 315.8
  },
  "luminance": 0.29558
}

Semantic roles & 50–950 ramp

primary
#BA7CD3
secondary
#CFE4C7
accent
#BD2853
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BA7CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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