#BA6BC2#BA6BC2

#BA6BC2 is a light, vivid purple. Relative luminance 0.248; OKLCH L 64.7% C 0.151 H 323.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#BA6BC2
RGBrgb(186, 107, 194)
HSLhsl(294, 42%, 59%)
HSVhsv(294, 45%, 76%)
CMYKcmyk(4.1%, 44.8%, 0%, 23.9%)
CIE-LABlab(56.93, 44.86, -32.54)
CIE-LCHlch(56.93, 55.42, 324.05°)
OKLaboklab(64.71% 0.1218 -0.0894)
OKLCHoklch(64.71% 0.151 323.7)
XYZxyz(35.2440, 24.8511, 53.9687)
Luminance0.2485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6BC2 #73C26B
analogous
#8F6BC2 #BA6BC2 #C26B9F
triadic
#BA6BC2 #C2BA6B #6BC2BA
tetradic
#BA6BC2 #C28F6B #73C26B #6B9FC2
square
#BA6BC2 #C28F6B #73C26B #6B9FC2
split-complementary
#BA6BC2 #9FC26B #6BC28F
monochromatic
#78347E #A146AA #BA6BC2 #CE96D4 #E2C2E6

Accessibility & contrast

On white

3.52
#BA6BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#BA6BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6BC2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6BC2#FFFFFF#000000##000000
##BA6BC21.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6183C5
Deuteranopia (green-blind)
#778CBF
Tritanopia (blue-blind)
#BD758D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba6bc2;
/* rgb */ color: rgb(186, 107, 194);
/* oklch */ color: oklch(64.7% 0.151 323.7);
Tailwind
colors: {
  custom: {
    50: '#d098d4',
    500: '#ba6bc2',
    950: '#000000',
  },
}
SCSS
$custom: #ba6bc2;
$custom-light: #d098d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6bc2",
  "rgb": {
    "r": 186,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 294.483,
    "s": 41.627,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64709,
    "c": 0.15109,
    "h": 323.7
  },
  "luminance": 0.2485
}

Semantic roles & 50–950 ramp

primary
#BA6BC2
secondary
#B6D5B3
accent
#D15662
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#140E14
muted
#837E83

Preview Lab

Preview with #BA6BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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