#BA61DF#BA61DF

#BA61DF is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.8% C 0.197 H 314.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#BA61DF
RGBrgb(186, 97, 223)
HSLhsl(282, 66%, 63%)
HSVhsv(282, 57%, 87%)
CMYKcmyk(16.6%, 56.5%, 0%, 12.5%)
CIE-LABlab(56.40, 55.74, -49.81)
CIE-LCHlch(56.40, 74.75, 318.22°)
OKLaboklab(64.78% 0.1388 -0.1393)
OKLCHoklch(64.78% 0.197 314.9)
XYZxyz(37.8415, 24.3174, 72.4981)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA61DF #86DF61
analogous
#7B61DF #BA61DF #DF61C5
triadic
#BA61DF #DFBA61 #61DFBA
tetradic
#BA61DF #DF7B61 #86DF61 #61C5DF
square
#BA61DF #DF7B61 #86DF61 #61C5DF
split-complementary
#BA61DF #C5DF61 #61DF7B
monochromatic
#7E21A4 #A42ED5 #BA61DF #D094E9 #E6C7F4

Accessibility & contrast

On white

3.58
#BA61DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#BA61DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA61DF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA61DF#FFFFFF#000000##000000
##BA61DF1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F82E3
Deuteranopia (green-blind)
#5F8ADC
Tritanopia (blue-blind)
#B77697
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba61df;
/* rgb */ color: rgb(186, 97, 223);
/* oklch */ color: oklch(64.8% 0.197 314.9);
Tailwind
colors: {
  custom: {
    50: '#d292e9',
    500: '#ba61df',
    950: '#000000',
  },
}
SCSS
$custom: #ba61df;
$custom-light: #d292e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba61df",
  "rgb": {
    "r": 186,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 282.381,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6478,
    "c": 0.19663,
    "h": 314.9
  },
  "luminance": 0.24316
}

Semantic roles & 50–950 ramp

primary
#BA61DF
secondary
#C4E5B7
accent
#CE174D
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA61DF

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

Preview Lab → · Contrast checker → · Palette generator →

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