#BA67C1#BA67C1

#BA67C1 is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.1% C 0.157 H 324.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#BA67C1
RGBrgb(186, 103, 193)
HSLhsl(295, 42%, 58%)
HSVhsv(295, 47%, 76%)
CMYKcmyk(3.6%, 46.6%, 0%, 24.3%)
CIE-LABlab(56.08, 46.75, -33.29)
CIE-LCHlch(56.08, 57.40, 324.55°)
OKLaboklab(64.06% 0.1274 -0.0915)
OKLCHoklch(64.06% 0.157 324.3)
XYZxyz(34.7247, 23.9915, 53.2435)
Luminance0.2399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67C1 #6EC167
analogous
#8D67C1 #BA67C1 #C1679B
triadic
#BA67C1 #C1BA67 #67C1BA
tetradic
#BA67C1 #C18D67 #6EC167 #679BC1
square
#BA67C1 #C18D67 #6EC167 #679BC1
split-complementary
#BA67C1 #9BC167 #67C18D
monochromatic
#76327B #9F44A7 #BA67C1 #CE92D3 #E1BEE4

Accessibility & contrast

On white

3.62
#BA67C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#BA67C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67C1
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67C1#FFFFFF#000000##000000
##BA67C11.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D80C4
Deuteranopia (green-blind)
#748ABE
Tritanopia (blue-blind)
#BD718B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba67c1;
/* rgb */ color: rgb(186, 103, 193);
/* oklch */ color: oklch(64.1% 0.157 324.3);
Tailwind
colors: {
  custom: {
    50: '#d095d4',
    500: '#ba67c1',
    950: '#000000',
  },
}
SCSS
$custom: #ba67c1;
$custom-light: #d095d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67c1",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 193
  },
  "hsl": {
    "h": 295.333,
    "s": 42.056,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64061,
    "c": 0.15686,
    "h": 324.3
  },
  "luminance": 0.2399
}

Semantic roles & 50–950 ramp

primary
#BA67C1
secondary
#B3D4B0
accent
#D25660
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #BA67C1

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

Preview Lab → · Contrast checker → · Palette generator →

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