#BA6BD2#BA6BD2

#BA6BD2 is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.5% C 0.168 H 317.9°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#BA6BD2
RGBrgb(186, 107, 210)
HSLhsl(286, 53%, 62%)
HSVhsv(286, 49%, 82%)
CMYKcmyk(11.4%, 49%, 0%, 17.6%)
CIE-LABlab(57.66, 48.02, -40.48)
CIE-LCHlch(57.66, 62.81, 319.87°)
OKLaboklab(65.49% 0.1243 -0.1122)
OKLCHoklch(65.49% 0.168 317.9)
XYZxyz(37.1386, 25.6089, 63.9470)
Luminance0.2561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6BD2 #83D26B
analogous
#866BD2 #BA6BD2 #D26BB7
triadic
#BA6BD2 #D2BA6B #6BD2BA
tetradic
#BA6BD2 #D2866B #83D26B #6BB7D2
square
#BA6BD2 #D2866B #83D26B #6BB7D2
split-complementary
#BA6BD2 #B7D26B #6BD286
monochromatic
#7D2D95 #A43CC4 #BA6BD2 #D09AE0 #E6C9EF

Accessibility & contrast

On white

3.43
#BA6BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#BA6BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6BD2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6BD2#FFFFFF#000000##000000
##BA6BD21.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5885D6
Deuteranopia (green-blind)
#6F8DCF
Tritanopia (blue-blind)
#BA7A95
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba6bd2;
/* rgb */ color: rgb(186, 107, 210);
/* oklch */ color: oklch(65.5% 0.168 317.9);
Tailwind
colors: {
  custom: {
    50: '#d198e0',
    500: '#ba6bd2',
    950: '#000000',
  },
}
SCSS
$custom: #ba6bd2;
$custom-light: #d198e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6bd2",
  "rgb": {
    "r": 186,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 286.019,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65494,
    "c": 0.1675,
    "h": 317.9
  },
  "luminance": 0.25608
}

Semantic roles & 50–950 ramp

primary
#BA6BD2
secondary
#C2DFB9
accent
#C12549
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #BA6BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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