#BA67C4#BA67C4

#BA67C4 is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.2% C 0.160 H 323.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#BA67C4
RGBrgb(186, 103, 196)
HSLhsl(294, 44%, 59%)
HSVhsv(294, 47%, 77%)
CMYKcmyk(5.1%, 47.4%, 0%, 23.1%)
CIE-LABlab(56.21, 47.33, -34.80)
CIE-LCHlch(56.21, 58.74, 323.68°)
OKLaboklab(64.21% 0.1279 -0.0958)
OKLCHoklch(64.21% 0.16 323.2)
XYZxyz(35.0627, 24.1267, 55.0238)
Luminance0.2412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67C4 #71C467
analogous
#8B67C4 #BA67C4 #C4679F
triadic
#BA67C4 #C4BA67 #67C4BA
tetradic
#BA67C4 #C48B67 #71C467 #679FC4
square
#BA67C4 #C48B67 #71C467 #679FC4
split-complementary
#BA67C4 #9FC467 #67C48B
monochromatic
#77317F #A042AB #BA67C4 #CE93D5 #E2BFE6

Accessibility & contrast

On white

3.61
#BA67C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA67C4#FFFFFF#000000##000000
##BA67C41.003.615.835.83
#FFFFFF3.611.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B80C7
Deuteranopia (green-blind)
#738AC1
Tritanopia (blue-blind)
#BD728C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba67c4;
/* rgb */ color: rgb(186, 103, 196);
/* oklch */ color: oklch(64.2% 0.160 323.2);
Tailwind
colors: {
  custom: {
    50: '#d195d6',
    500: '#ba67c4',
    950: '#000000',
  },
}
SCSS
$custom: #ba67c4;
$custom-light: #d195d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67c4",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 196
  },
  "hsl": {
    "h": 293.548,
    "s": 44.076,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64206,
    "c": 0.15982,
    "h": 323.2
  },
  "luminance": 0.24125
}

Semantic roles & 50–950 ramp

primary
#BA67C4
secondary
#B5D6B1
accent
#D45462
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #BA67C4

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

Preview Lab → · Contrast checker → · Palette generator →

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