#BA61DC#BA61DC

#BA61DC is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.6% C 0.194 H 315.7°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#BA61DC
RGBrgb(186, 97, 220)
HSLhsl(283, 64%, 62%)
HSVhsv(283, 56%, 86%)
CMYKcmyk(15.5%, 55.9%, 0%, 13.7%)
CIE-LABlab(56.24, 55.13, -48.37)
CIE-LCHlch(56.24, 73.34, 318.73°)
OKLaboklab(64.61% 0.1386 -0.1351)
OKLCHoklch(64.61% 0.194 315.7)
XYZxyz(37.4407, 24.1570, 70.3868)
Luminance0.2416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA61DC #83DC61
analogous
#7D61DC #BA61DC #DC61C0
triadic
#BA61DC #DCBA61 #61DCBA
tetradic
#BA61DC #DC7D61 #83DC61 #61C0DC
square
#BA61DC #DC7D61 #83DC61 #61C0DC
split-complementary
#BA61DC #C0DC61 #61DC7D
monochromatic
#7D239F #A42FD1 #BA61DC #D093E7 #E6C5F2

Accessibility & contrast

On white

3.60
#BA61DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#BA61DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA61DC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA61DC#FFFFFF#000000##000000
##BA61DC1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4281E0
Deuteranopia (green-blind)
#6189D9
Tritanopia (blue-blind)
#B87595
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba61dc;
/* rgb */ color: rgb(186, 97, 220);
/* oklch */ color: oklch(64.6% 0.194 315.7);
Tailwind
colors: {
  custom: {
    50: '#d192e7',
    500: '#ba61dc',
    950: '#000000',
  },
}
SCSS
$custom: #ba61dc;
$custom-light: #d192e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba61dc",
  "rgb": {
    "r": 186,
    "g": 97,
    "b": 220
  },
  "hsl": {
    "h": 283.415,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64612,
    "c": 0.19357,
    "h": 315.7
  },
  "luminance": 0.24156
}

Semantic roles & 50–950 ramp

primary
#BA61DC
secondary
#C2E3B6
accent
#CC1A4B
background
#FDF9FE
surface
#FAF1FC
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA61DC

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

Preview Lab → · Contrast checker → · Palette generator →

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